diff --git a/buyer/src/api/member.js b/buyer/src/api/member.js index efa6255a..9ecdbb50 100644 --- a/buyer/src/api/member.js +++ b/buyer/src/api/member.js @@ -457,23 +457,21 @@ export function memberMsgList (params) { * 设置消息为已读 * @param {String} messageId 消息id */ - export function readMemberMsg (params) { + export function readMemberMsg (id) { return request({ - url: `/buyer/member/message`, + url: `/buyer/member/message/${id}`, method: Method.PUT, - needToken: true, - params + needToken: true }); } /** * 删除会员消息 * @param {String} messageId 消息id */ - export function delMemberMsg (params) { + export function delMemberMsg (id) { return request({ - url: `/buyer/member/message`, + url: `/buyer/member/message/${id}`, method: Method.DELETE, - needToken: true, - params + needToken: true }); } diff --git a/buyer/src/config/index.js b/buyer/src/config/index.js index 6fe90b0b..c3161388 100644 --- a/buyer/src/config/index.js +++ b/buyer/src/config/index.js @@ -17,15 +17,15 @@ export default { * @description api请求基础路径 */ api_dev: { - // common: 'http://192.168.0.109:8890', - // buyer: 'http://192.168.0.109:8888', - // seller: 'http://192.168.0.109:8889', - // manager: 'http://192.168.0.109:8887' + common: 'http://192.168.0.100:8890', + buyer: 'http://192.168.0.100:8888', + seller: 'http://192.168.0.100:8889', + manager: 'http://192.168.0.100:8887' - common: 'https://common-api.pickmall.cn', - buyer: 'https://buyer-api.pickmall.cn', - seller: 'https://store-api.pickmall.cn', - manager: 'https://admin-api.pickmall.cn' + // common: 'https://common-api.pickmall.cn', + // buyer: 'https://buyer-api.pickmall.cn', + // seller: 'https://store-api.pickmall.cn', + // manager: 'https://admin-api.pickmall.cn' }, api_prod: { common: 'https://common-api.pickmall.cn', diff --git a/buyer/src/pages/Merchant.vue b/buyer/src/pages/Merchant.vue index 78085e6f..a3cfc9c8 100644 --- a/buyer/src/pages/Merchant.vue +++ b/buyer/src/pages/Merchant.vue @@ -9,10 +9,12 @@
{{storeMsg.storeName || 'xx店铺'}}
- + +