This commit is contained in:
duanxiaohai 2024-09-27 14:37:15 +08:00
parent 6da4cad152
commit 2d8cf0d3e3
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ const login = () => {
// console.log( 555,res, auth__code); // console.log( 555,res, auth__code);
if (res.auth_code) { if (res.auth_code) {
http http
.post(`/api/sign_in/one_click_login?authCode=${res.auth_code}`) .get(`/api/sign_in/one_click_login?authCode=${res.auth_code}`)
.then((response) => { .then((response) => {
if (response.code == 200) { if (response.code == 200) {
tools.data.set("token", response.data.token); tools.data.set("token", response.data.token);