From d039fca4240adb63dce05ffaa10e7170d11e4037 Mon Sep 17 00:00:00 2001 From: youwentong <75539470+youwentong@users.noreply.github.com> Date: Thu, 28 Jan 2021 16:19:56 +0800 Subject: [PATCH 1/3] Add files via upload --- index.js | 23 +++++++ index1.vue | 196 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 219 insertions(+) create mode 100644 index.js create mode 100644 index1.vue diff --git a/index.js b/index.js new file mode 100644 index 0000000..2676c3a --- /dev/null +++ b/index.js @@ -0,0 +1,23 @@ +import request from '@/utils/request' +export function login(mobile,password){ + return request({ + url:'/admin/login', + method:'post', + mobile:mobile, + password:password//? + // params:data + }) +} +import request from '@/utils/request' +export function login(mobile,code,password,name){ + return request({ + url:'/admin/register', + method:'post', + mobile:mobile, + code:code, + password:password, + name:name, + //? + // params:data + }) +} diff --git a/index1.vue b/index1.vue new file mode 100644 index 0000000..bd9803a --- /dev/null +++ b/index1.vue @@ -0,0 +1,196 @@ + + + + + From 74da72d1b7fc39122996d2aed69fc561910ba0d7 Mon Sep 17 00:00:00 2001 From: youwentong <75539470+youwentong@users.noreply.github.com> Date: Thu, 28 Jan 2021 16:32:51 +0800 Subject: [PATCH 2/3] Add files via upload --- App.vue | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 App.vue diff --git a/App.vue b/App.vue new file mode 100644 index 0000000..e96b76d --- /dev/null +++ b/App.vue @@ -0,0 +1,77 @@ + + + + + + + +