Skip to content

Commit

Permalink
修复api错误
Browse files Browse the repository at this point in the history
  • Loading branch information
LeiGaoRobot committed Feb 17, 2022
1 parent aee67ec commit 7376d4d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions buyer/src/api/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
})
Expand Down
4 changes: 2 additions & 2 deletions buyer/src/api/member.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion buyer/src/api/shopentry.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down

0 comments on commit 7376d4d

Please sign in to comment.