From 8d414723b3372aa20b070fd1cd11da8c6c0044f8 Mon Sep 17 00:00:00 2001 From: zty Date: Sun, 28 Apr 2024 15:44:41 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=E4=BF=AE=E6=94=B9=E7=99=BB=E5=85=A5?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/dist/index.html | 2 +- client/src/api/msg.js | 2 +- client/src/api/msgInfo.js | 9 +++++++++ client/src/views/informatiomCollect/smsMessage.vue | 2 +- server/apps/information/urls.py | 4 ++-- server/apps/information/views.py | 3 ++- 6 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 client/src/api/msgInfo.js diff --git a/client/dist/index.html b/client/dist/index.html index ae3aa55..afe93b3 100644 --- a/client/dist/index.html +++ b/client/dist/index.html @@ -1 +1 @@ -vue Admin Template
\ No newline at end of file +vue Admin Template
\ No newline at end of file diff --git a/client/src/api/msg.js b/client/src/api/msg.js index d805d18..bc20ece 100644 --- a/client/src/api/msg.js +++ b/client/src/api/msg.js @@ -2,7 +2,7 @@ import request from '@/utils/request' export function sendMsg(data) { return request({ - url: '/info/sendmsg/', + url: '/system/sendmsg/', method: 'post', data }) diff --git a/client/src/api/msgInfo.js b/client/src/api/msgInfo.js new file mode 100644 index 0000000..ee7d8b2 --- /dev/null +++ b/client/src/api/msgInfo.js @@ -0,0 +1,9 @@ +import request from '@/utils/request' + +export function sendMsg(data) { + return request({ + url: '/info/sendmsg_info/', + method: 'post', + data + }) + } \ No newline at end of file diff --git a/client/src/views/informatiomCollect/smsMessage.vue b/client/src/views/informatiomCollect/smsMessage.vue index 5d57400..d30f5ed 100644 --- a/client/src/views/informatiomCollect/smsMessage.vue +++ b/client/src/views/informatiomCollect/smsMessage.vue @@ -14,7 +14,7 @@