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
         const params = {
258
         const params = {
259
           sys_group_id,
259
           sys_group_id,
260
           corp_id: '',
260
           corp_id: '',
261
-          send_status: 1, // 1待发送 2已发送
261
+          msg_type: 1,
262
           page: 1,
262
           page: 1,
263
           page_size: 5,
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
         const { data: res = {} } = await this.$axios.get(url, { params })
266
         const { data: res = {} } = await this.$axios.get(url, { params })
267
         if (res && res.errno == 0) {
267
         if (res && res.errno == 0) {
268
           this.systemMsgList = Array.isArray(res.rst.data) ? res.rst.data : []
268
           this.systemMsgList = Array.isArray(res.rst.data) ? res.rst.data : []