diff --git a/client/src/App.vue b/client/src/App.vue index ec9032c..2d9191c 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -9,3 +9,18 @@ export default { name: 'App' } + \ No newline at end of file diff --git a/client/src/api/msg.js b/client/src/api/msg.js new file mode 100644 index 0000000..bc20ece --- /dev/null +++ b/client/src/api/msg.js @@ -0,0 +1,9 @@ +import request from '@/utils/request' + +export function sendMsg(data) { + return request({ + url: '/system/sendmsg/', + method: 'post', + data + }) + } \ No newline at end of file diff --git a/client/src/api/user.js b/client/src/api/user.js index 2712ba4..3bf3700 100644 --- a/client/src/api/user.js +++ b/client/src/api/user.js @@ -8,6 +8,15 @@ export function login(data) { }) } +export function login2(data) { + //验证码登陆 + return request({ + url: '/token2/', + method: 'post', + data + }) +} + export function logout() { return request({ url: '/token/black/', diff --git a/client/src/components/Pagination/index.vue b/client/src/components/Pagination/index.vue index c815e13..c5ace71 100644 --- a/client/src/components/Pagination/index.vue +++ b/client/src/components/Pagination/index.vue @@ -90,10 +90,10 @@ export default { } -