diff --git a/README.md b/README.md index abfc585..2ec8b7d 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,5 @@ B组件 触发($emit) ``` -{"id":148,"order_no":"SS20220209134238527851","member_id":290,"member_img":"https://thirdwx.qlogo.cn/mmopen/vi_32/0xr8AUjv3nia5XQpHpe8ibNoOe3GVuREbolOicnGBhWxxVWO0wFxjLjvPWEQehCLS5WEEyJYEWqKtNaxfbE7BDqjQ/132","member_name":"Kahing","member_phone":"13500071371","team_charge_man_name":"","score":"12","schedule_son_id":23,"is_set_score":true} -{"brand_id":63,"order_no":"SS20220209134238527851","member_id":290,"member_img":"https://thirdwx.qlogo.cn/mmopen/vi_32/0xr8AUjv3nia5XQpHpe8ibNoOe3GVuREbolOicnGBhWxxVWO0wFxjLjvPWEQehCLS5WEEyJYEWqKtNaxfbE7BDqjQ/132","member_name":"Kahing","member_phone":"13500071371","team_charge_man_name":"","score":23,"is_set_score":true,"match_id":80} ``` \ No newline at end of file diff --git a/nxTemp/apis/userAPI.js b/nxTemp/apis/userAPI.js index c2e3336..fbf1f10 100644 --- a/nxTemp/apis/userAPI.js +++ b/nxTemp/apis/userAPI.js @@ -113,3 +113,32 @@ export function rankOcondList(data) { export function rankSave(data) { return http.post(`${config.baseUrl}/gaMatchAssistant/rankData/save`,data); } + +/** +* @description: 消息中心-消息列表 +* @param {*} +* brand_id, order_no , rank_data{id,val} +*/ +export function msgList(data) { + return http.post(`${config.baseUrl}/matchAssistant/msgCenter/list`,data); +} + +/** +* @description: 消息中心-未读消息数量 +* @param {*} +* brand_id, order_no , rank_data{id,val} +*/ +export function msgNum(data) { + return http.post(`${config.baseUrl}/matchAssistant/msgCenter/notReadNum`,data); +} + +/** +* @description: 消息中心-消息详情 +* @param {*} +* brand_id, order_no , rank_data{id,val} +*/ +export function msgGet(data) { + return http.post(`${config.baseUrl}/matchAssistant/msgCenter/get`,data); +} + + diff --git a/pages/index/index.vue b/pages/index/index.vue index 1c8e84d..1adb0a5 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -14,7 +14,7 @@ 消息中心 - 99 + {{unReadNum}} @@ -33,11 +33,13 @@