Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop-ui
commit
12ea0c2b84
|
@ -11,7 +11,7 @@ import request, {Method} from '@/plugins/request.js'
|
|||
// 获取密码状态
|
||||
export function getPwdStatus (params) {
|
||||
return request({
|
||||
url: '/buyer/passport/members/wallet/check',
|
||||
url: '/buyer/passport/member/wallet/check',
|
||||
method: Method.GET,
|
||||
needToken: true,
|
||||
params
|
||||
|
@ -21,7 +21,7 @@ export function getPwdStatus (params) {
|
|||
// 设置密码
|
||||
export function setPwd (params) {
|
||||
return request({
|
||||
url: '/buyer/passport/members/wallet/set-password',
|
||||
url: '/buyer/passport/member/wallet/set-password',
|
||||
method: Method.POST,
|
||||
needToken: true,
|
||||
data: params
|
||||
|
@ -31,7 +31,7 @@ export function setPwd (params) {
|
|||
// 设置支付密码
|
||||
export function setUpdatePwdOrdinary (params) {
|
||||
return request({
|
||||
url: '/buyer/passport/members/wallet/update-password/ordinary',
|
||||
url: '/buyer/passport/member/wallet/update-password/ordinary',
|
||||
method: Method.GET,
|
||||
needToken: true,
|
||||
data: params
|
||||
|
@ -41,7 +41,7 @@ export function setUpdatePwdOrdinary (params) {
|
|||
// 修改会员资料
|
||||
export function editMemberInfo (params) {
|
||||
return request({
|
||||
url: '/buyer/passport/members/editOwn',
|
||||
url: '/buyer/passport/member/editOwn',
|
||||
method: Method.PUT,
|
||||
needToken: true,
|
||||
data: params
|
||||
|
@ -51,7 +51,7 @@ export function editMemberInfo (params) {
|
|||
// 修改密码
|
||||
export function editPwd (params) {
|
||||
return request({
|
||||
url: `/buyer/passport/members/modifyPass`,
|
||||
url: `/buyer/passport/member/modifyPass`,
|
||||
method: Method.PUT,
|
||||
needToken: true,
|
||||
data: params
|
||||
|
@ -61,7 +61,7 @@ export function editPwd (params) {
|
|||
// 获取密码状态
|
||||
export function logout () {
|
||||
return request({
|
||||
url: '/buyer/passport/members/logout',
|
||||
url: '/buyer/passport/member/logout',
|
||||
method: Method.POST,
|
||||
needToken: true
|
||||
})
|
||||
|
|
|
@ -88,7 +88,7 @@ export function articleDetail (id) {
|
|||
// 获取IM接口前缀
|
||||
export function getIMDetail () {
|
||||
return request({
|
||||
url: `${commonUrl}/common/IM`,
|
||||
url: `${commonUrl}/common/common/IM`,
|
||||
method: Method.GET
|
||||
});
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ import request, {Method} from '@/plugins/request.js';
|
|||
// 查询账户余额
|
||||
export function getMembersWallet () {
|
||||
return request({
|
||||
url: '/buyer/passport/members/wallet',
|
||||
url: '/buyer/passport/member/wallet',
|
||||
method: Method.GET,
|
||||
needToken: true
|
||||
});
|
||||
|
@ -52,7 +52,7 @@ export function recharge (params) {
|
|||
// 提现
|
||||
export function withdrawalApply (params) {
|
||||
return request({
|
||||
url: '/buyer/passport/members/wallet/withdrawal',
|
||||
url: '/buyer/passport/member/wallet/withdrawal',
|
||||
method: Method.POST,
|
||||
needToken: true,
|
||||
data: params
|
||||
|
|
|
@ -53,7 +53,7 @@ export function getDetailById (id) {
|
|||
// 店铺分类
|
||||
export function getCateById (id) {
|
||||
return request({
|
||||
url: `/buyer/goods/store/label/get/${id}`,
|
||||
url: `/buyer/store/store/label/get/${id}`,
|
||||
needToken: true,
|
||||
method: Method.GET
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue