|
@@ -28,7 +28,7 @@ Page({
|
|
|
wx.getUserProfile({
|
|
|
desc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写
|
|
|
success: (res) => {
|
|
|
- console.log("用户信息",res)
|
|
|
+ console.log("用户信息", res)
|
|
|
/* this.setData({
|
|
|
userInfo: res.userInfo,
|
|
|
hasUserInfo: true
|
|
@@ -78,10 +78,10 @@ Page({
|
|
|
"password": md5.hexMD5(this.data.password),
|
|
|
"systemclient": "wechatsaletool"
|
|
|
}).then(res => {
|
|
|
- console.log("登录", res)
|
|
|
this.setData({
|
|
|
loading: false
|
|
|
})
|
|
|
+ console.log("登录", res)
|
|
|
if (res.msg != '成功') return wx.showToast({
|
|
|
title: res.msg,
|
|
|
icon: "none"
|