v2
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ Page({
|
||||
let params = {
|
||||
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("token", res.result.token);
|
||||
this.setData({
|
||||
|
||||
+1
-1
@@ -101,7 +101,7 @@ Page({
|
||||
let params = {
|
||||
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("token", res.result.token);
|
||||
this.setData({
|
||||
|
||||
Reference in New Issue
Block a user