v2
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ Page({
|
|||||||
let params = {
|
let params = {
|
||||||
code: code
|
code: code
|
||||||
};
|
};
|
||||||
$.ajax("weighingScale/checkOpenIdLogin", params, "POST", true, "加载中...").then((res) => {
|
$.ajax("weighingScale/checkOpenIdLogin/v2", params, "POST", true, "加载中...").then((res) => {
|
||||||
wx.setStorageSync("userInfo", res.result.user);
|
wx.setStorageSync("userInfo", res.result.user);
|
||||||
wx.setStorageSync("token", res.result.token);
|
wx.setStorageSync("token", res.result.token);
|
||||||
this.setData({
|
this.setData({
|
||||||
|
|||||||
+1
-1
@@ -101,7 +101,7 @@ Page({
|
|||||||
let params = {
|
let params = {
|
||||||
code: res.code
|
code: res.code
|
||||||
};
|
};
|
||||||
$.ajax("weighingScale/checkOpenIdLogin", params, "POST", true, "登录中...").then((res) => {
|
$.ajax("weighingScale/checkOpenIdLogin/v2", params, "POST", true, "登录中...").then((res) => {
|
||||||
wx.setStorageSync("userInfo", res.result.user);
|
wx.setStorageSync("userInfo", res.result.user);
|
||||||
wx.setStorageSync("token", res.result.token);
|
wx.setStorageSync("token", res.result.token);
|
||||||
this.setData({
|
this.setData({
|
||||||
|
|||||||
Reference in New Issue
Block a user