From d84e671823cbfd12dbb17267f50310ed1aa3347e Mon Sep 17 00:00:00 2001 From: unknown <1162963624@qq.com> Date: Tue, 1 Dec 2020 09:07:42 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=AF=B7=E6=B1=82=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.ts | 9 +++++++++ src/views/login/wblogin.vue | 8 ++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/api/index.ts b/src/api/index.ts index c1abdf8..9a70132 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -1203,3 +1203,12 @@ export async function authLogin(id:number, type: number, img: string = "") { message.error(res.msg); } } + +export async function accessToken(code:string) { + const res = await get("accessToken", {code}) + if(res.code == 0){ + return res.data + }else{ + message.error(res.msg); + } +} diff --git a/src/views/login/wblogin.vue b/src/views/login/wblogin.vue index ca6356d..c25537d 100644 --- a/src/views/login/wblogin.vue +++ b/src/views/login/wblogin.vue @@ -5,6 +5,7 @@ \ No newline at end of file -- 2.39.5 From b30352d1ea727c3a194fc4ac3f18f94033db4610 Mon Sep 17 00:00:00 2001 From: unknown <1162963624@qq.com> Date: Tue, 1 Dec 2020 09:09:16 +0800 Subject: [PATCH 2/2] dist --- ...hunk-2abb3284.0e433876.css => chunk-15125f63.0e433876.css} | 0 dist/index.html | 4 ++-- dist/js/app.01ee4664.js | 2 -- dist/js/app.01ee4664.js.map | 1 - dist/js/app.f4f07040.js | 2 ++ dist/js/app.f4f07040.js.map | 1 + ...{chunk-04e3a2fa.4e5bf138.js => chunk-04e3a2fa.5c73601b.js} | 4 ++-- ...4e3a2fa.4e5bf138.js.map => chunk-04e3a2fa.5c73601b.js.map} | 2 +- ...{chunk-05d3c41a.6f8e1d21.js => chunk-05d3c41a.309217b8.js} | 4 ++-- ...5d3c41a.6f8e1d21.js.map => chunk-05d3c41a.309217b8.js.map} | 2 +- ...{chunk-06828374.92c104f8.js => chunk-06828374.25d7860c.js} | 4 ++-- ...6828374.92c104f8.js.map => chunk-06828374.25d7860c.js.map} | 2 +- ...{chunk-07015098.d8ad6dd8.js => chunk-07015098.1714873c.js} | 4 ++-- ...7015098.d8ad6dd8.js.map => chunk-07015098.1714873c.js.map} | 2 +- ...{chunk-14e6a7cb.479bc324.js => chunk-14e6a7cb.5b3cdc94.js} | 4 ++-- ...4e6a7cb.479bc324.js.map => chunk-14e6a7cb.5b3cdc94.js.map} | 2 +- dist/js/chunk-15125f63.65aeaec7.js | 2 ++ dist/js/chunk-15125f63.65aeaec7.js.map | 1 + ...{chunk-16964057.e860e807.js => chunk-16964057.77269b28.js} | 4 ++-- ...6964057.e860e807.js.map => chunk-16964057.77269b28.js.map} | 2 +- ...{chunk-1abac668.9b8393d5.js => chunk-1abac668.db10ff04.js} | 4 ++-- ...abac668.9b8393d5.js.map => chunk-1abac668.db10ff04.js.map} | 2 +- ...{chunk-21d6a1b9.814769b8.js => chunk-21d6a1b9.a09d0530.js} | 4 ++-- ...1d6a1b9.814769b8.js.map => chunk-21d6a1b9.a09d0530.js.map} | 2 +- ...{chunk-2415f10c.358ecd0c.js => chunk-2415f10c.46bc3dde.js} | 4 ++-- ...415f10c.358ecd0c.js.map => chunk-2415f10c.46bc3dde.js.map} | 2 +- ...{chunk-2a197f09.bd0e194a.js => chunk-2a197f09.ccd4de73.js} | 4 ++-- ...a197f09.bd0e194a.js.map => chunk-2a197f09.ccd4de73.js.map} | 2 +- dist/js/chunk-2abb3284.26e639da.js | 2 -- dist/js/chunk-2abb3284.26e639da.js.map | 1 - dist/js/chunk-34d93bb8.0800fe82.js.map | 1 - ...{chunk-34d93bb8.0800fe82.js => chunk-34d93bb8.5765912a.js} | 4 ++-- dist/js/chunk-34d93bb8.5765912a.js.map | 1 + ...{chunk-371ee143.9a5aa0ef.js => chunk-371ee143.7a9d3662.js} | 4 ++-- ...71ee143.9a5aa0ef.js.map => chunk-371ee143.7a9d3662.js.map} | 2 +- ...{chunk-3c7641ed.c7ac695c.js => chunk-3c7641ed.3e2a9715.js} | 4 ++-- ...c7641ed.c7ac695c.js.map => chunk-3c7641ed.3e2a9715.js.map} | 2 +- ...{chunk-46e3b07d.66e75576.js => chunk-46e3b07d.63da9fd1.js} | 4 ++-- ...6e3b07d.66e75576.js.map => chunk-46e3b07d.63da9fd1.js.map} | 2 +- ...{chunk-4e0b884c.fabcd8e9.js => chunk-4e0b884c.362eb592.js} | 4 ++-- ...e0b884c.fabcd8e9.js.map => chunk-4e0b884c.362eb592.js.map} | 2 +- ...{chunk-623eb100.aed215a1.js => chunk-623eb100.a6c60ecd.js} | 4 ++-- ...23eb100.aed215a1.js.map => chunk-623eb100.a6c60ecd.js.map} | 2 +- ...{chunk-650d0cb1.c6b1bce2.js => chunk-650d0cb1.80c408bc.js} | 4 ++-- ...50d0cb1.c6b1bce2.js.map => chunk-650d0cb1.80c408bc.js.map} | 2 +- ...{chunk-737c53fe.ae7c1e50.js => chunk-737c53fe.2ca846cd.js} | 4 ++-- ...37c53fe.ae7c1e50.js.map => chunk-737c53fe.2ca846cd.js.map} | 2 +- ...{chunk-74d6e86d.d8608ed4.js => chunk-74d6e86d.0149b918.js} | 4 ++-- ...4d6e86d.d8608ed4.js.map => chunk-74d6e86d.0149b918.js.map} | 2 +- ...{chunk-74d7e8d4.79663a08.js => chunk-74d7e8d4.cbdff638.js} | 4 ++-- ...4d7e8d4.79663a08.js.map => chunk-74d7e8d4.cbdff638.js.map} | 2 +- ...{chunk-977f0f52.10120fa8.js => chunk-977f0f52.456f221b.js} | 4 ++-- ...77f0f52.10120fa8.js.map => chunk-977f0f52.456f221b.js.map} | 2 +- ...{chunk-ba7680ac.fbbb94b1.js => chunk-ba7680ac.7a2e65a4.js} | 4 ++-- ...a7680ac.fbbb94b1.js.map => chunk-ba7680ac.7a2e65a4.js.map} | 2 +- ...{chunk-cc7ac8b2.d48d29db.js => chunk-cc7ac8b2.fe8f450b.js} | 4 ++-- ...c7ac8b2.d48d29db.js.map => chunk-cc7ac8b2.fe8f450b.js.map} | 2 +- ...{chunk-ef207110.c1ef4076.js => chunk-ef207110.e64e7ebf.js} | 4 ++-- ...f207110.c1ef4076.js.map => chunk-ef207110.e64e7ebf.js.map} | 2 +- 59 files changed, 80 insertions(+), 80 deletions(-) rename dist/css/{chunk-2abb3284.0e433876.css => chunk-15125f63.0e433876.css} (100%) delete mode 100644 dist/js/app.01ee4664.js delete mode 100644 dist/js/app.01ee4664.js.map create mode 100644 dist/js/app.f4f07040.js create mode 100644 dist/js/app.f4f07040.js.map rename dist/js/{chunk-04e3a2fa.4e5bf138.js => chunk-04e3a2fa.5c73601b.js} (96%) rename dist/js/{chunk-04e3a2fa.4e5bf138.js.map => chunk-04e3a2fa.5c73601b.js.map} (99%) rename dist/js/{chunk-05d3c41a.6f8e1d21.js => chunk-05d3c41a.309217b8.js} (96%) rename dist/js/{chunk-05d3c41a.6f8e1d21.js.map => chunk-05d3c41a.309217b8.js.map} (99%) rename dist/js/{chunk-06828374.92c104f8.js => chunk-06828374.25d7860c.js} (92%) rename dist/js/{chunk-06828374.92c104f8.js.map => chunk-06828374.25d7860c.js.map} (99%) rename dist/js/{chunk-07015098.d8ad6dd8.js => chunk-07015098.1714873c.js} (91%) rename dist/js/{chunk-07015098.d8ad6dd8.js.map => chunk-07015098.1714873c.js.map} (99%) rename dist/js/{chunk-14e6a7cb.479bc324.js => chunk-14e6a7cb.5b3cdc94.js} (93%) rename dist/js/{chunk-14e6a7cb.479bc324.js.map => chunk-14e6a7cb.5b3cdc94.js.map} (99%) create mode 100644 dist/js/chunk-15125f63.65aeaec7.js create mode 100644 dist/js/chunk-15125f63.65aeaec7.js.map rename dist/js/{chunk-16964057.e860e807.js => chunk-16964057.77269b28.js} (97%) rename dist/js/{chunk-16964057.e860e807.js.map => chunk-16964057.77269b28.js.map} (99%) rename dist/js/{chunk-1abac668.9b8393d5.js => chunk-1abac668.db10ff04.js} (92%) rename dist/js/{chunk-1abac668.9b8393d5.js.map => chunk-1abac668.db10ff04.js.map} (99%) rename dist/js/{chunk-21d6a1b9.814769b8.js => chunk-21d6a1b9.a09d0530.js} (93%) rename dist/js/{chunk-21d6a1b9.814769b8.js.map => chunk-21d6a1b9.a09d0530.js.map} (99%) rename dist/js/{chunk-2415f10c.358ecd0c.js => chunk-2415f10c.46bc3dde.js} (88%) rename dist/js/{chunk-2415f10c.358ecd0c.js.map => chunk-2415f10c.46bc3dde.js.map} (96%) rename dist/js/{chunk-2a197f09.bd0e194a.js => chunk-2a197f09.ccd4de73.js} (98%) rename dist/js/{chunk-2a197f09.bd0e194a.js.map => chunk-2a197f09.ccd4de73.js.map} (99%) delete mode 100644 dist/js/chunk-2abb3284.26e639da.js delete mode 100644 dist/js/chunk-2abb3284.26e639da.js.map delete mode 100644 dist/js/chunk-34d93bb8.0800fe82.js.map rename dist/js/{chunk-34d93bb8.0800fe82.js => chunk-34d93bb8.5765912a.js} (84%) create mode 100644 dist/js/chunk-34d93bb8.5765912a.js.map rename dist/js/{chunk-371ee143.9a5aa0ef.js => chunk-371ee143.7a9d3662.js} (92%) rename dist/js/{chunk-371ee143.9a5aa0ef.js.map => chunk-371ee143.7a9d3662.js.map} (99%) rename dist/js/{chunk-3c7641ed.c7ac695c.js => chunk-3c7641ed.3e2a9715.js} (98%) rename dist/js/{chunk-3c7641ed.c7ac695c.js.map => chunk-3c7641ed.3e2a9715.js.map} (99%) rename dist/js/{chunk-46e3b07d.66e75576.js => chunk-46e3b07d.63da9fd1.js} (98%) rename dist/js/{chunk-46e3b07d.66e75576.js.map => chunk-46e3b07d.63da9fd1.js.map} (99%) rename dist/js/{chunk-4e0b884c.fabcd8e9.js => chunk-4e0b884c.362eb592.js} (93%) rename dist/js/{chunk-4e0b884c.fabcd8e9.js.map => chunk-4e0b884c.362eb592.js.map} (99%) rename dist/js/{chunk-623eb100.aed215a1.js => chunk-623eb100.a6c60ecd.js} (96%) rename dist/js/{chunk-623eb100.aed215a1.js.map => chunk-623eb100.a6c60ecd.js.map} (99%) rename dist/js/{chunk-650d0cb1.c6b1bce2.js => chunk-650d0cb1.80c408bc.js} (98%) rename dist/js/{chunk-650d0cb1.c6b1bce2.js.map => chunk-650d0cb1.80c408bc.js.map} (99%) rename dist/js/{chunk-737c53fe.ae7c1e50.js => chunk-737c53fe.2ca846cd.js} (90%) rename dist/js/{chunk-737c53fe.ae7c1e50.js.map => chunk-737c53fe.2ca846cd.js.map} (99%) rename dist/js/{chunk-74d6e86d.d8608ed4.js => chunk-74d6e86d.0149b918.js} (99%) rename dist/js/{chunk-74d6e86d.d8608ed4.js.map => chunk-74d6e86d.0149b918.js.map} (99%) rename dist/js/{chunk-74d7e8d4.79663a08.js => chunk-74d7e8d4.cbdff638.js} (88%) rename dist/js/{chunk-74d7e8d4.79663a08.js.map => chunk-74d7e8d4.cbdff638.js.map} (99%) rename dist/js/{chunk-977f0f52.10120fa8.js => chunk-977f0f52.456f221b.js} (98%) rename dist/js/{chunk-977f0f52.10120fa8.js.map => chunk-977f0f52.456f221b.js.map} (99%) rename dist/js/{chunk-ba7680ac.fbbb94b1.js => chunk-ba7680ac.7a2e65a4.js} (97%) rename dist/js/{chunk-ba7680ac.fbbb94b1.js.map => chunk-ba7680ac.7a2e65a4.js.map} (99%) rename dist/js/{chunk-cc7ac8b2.d48d29db.js => chunk-cc7ac8b2.fe8f450b.js} (94%) rename dist/js/{chunk-cc7ac8b2.d48d29db.js.map => chunk-cc7ac8b2.fe8f450b.js.map} (99%) rename dist/js/{chunk-ef207110.c1ef4076.js => chunk-ef207110.e64e7ebf.js} (95%) rename dist/js/{chunk-ef207110.c1ef4076.js.map => chunk-ef207110.e64e7ebf.js.map} (99%) diff --git a/dist/css/chunk-2abb3284.0e433876.css b/dist/css/chunk-15125f63.0e433876.css similarity index 100% rename from dist/css/chunk-2abb3284.0e433876.css rename to dist/css/chunk-15125f63.0e433876.css diff --git a/dist/index.html b/dist/index.html index 99d45b4..c40cab7 100644 --- a/dist/index.html +++ b/dist/index.html @@ -61,11 +61,11 @@ left: 0; z-index: 1001; display: none; - }