Browse Source

feat: 系统消息 - 接口调整

zhengxy 1 year ago
parent
commit
1c31af7f1e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      project/src/components/Index/header.vue

+ 2 - 2
project/src/components/Index/header.vue

@@ -258,11 +258,11 @@ export default {
258 258
         const params = {
259 259
           sys_group_id,
260 260
           corp_id: '',
261
-          send_status: 1, // 1待发送 2已发送
261
+          msg_type: 1,
262 262
           page: 1,
263 263
           page_size: 5,
264 264
         }
265
-        const url = `${this.URL.BASEURL}${this.URL.system_sendNoticeList}`
265
+        const url = `${this.URL.BASEURL}${this.URL.system_sendNoticeListNew}`
266 266
         const { data: res = {} } = await this.$axios.get(url, { params })
267 267
         if (res && res.errno == 0) {
268 268
           this.systemMsgList = Array.isArray(res.rst.data) ? res.rst.data : []