|
|
@@ -293,6 +293,7 @@ Page({
|
|
|
function (res) {
|
|
|
if (res.code === 0) {
|
|
|
if (res.memberinfo) {
|
|
|
+ if (res.yicLogin && res.yicLogin.token) wx.setStorageSync("token", res.yicLogin.token);
|
|
|
wx.setStorageSync("USER", res.memberinfo);
|
|
|
that.setData({
|
|
|
"params.id": res.memberinfo.id,
|
|
|
@@ -365,8 +366,9 @@ Page({
|
|
|
form,
|
|
|
(res) => {
|
|
|
if (res.code === 0) {
|
|
|
+ if (res.yicLogin && res.yicLogin.token) wx.setStorageSync("token", res.yicLogin.token);
|
|
|
wx.setStorageSync("USER", res.memberinfo);
|
|
|
- console.log(this.data.meetId, 11111111)
|
|
|
+ // console.log(this.data.meetId, 11111111)
|
|
|
if (this.data.meetId != "") {
|
|
|
wx.reLaunch({
|
|
|
url: `/meet/meet/addmeet?meetId=${this.data.meetId}&expertId=${this.data.expertId}&memberId=${this.data.memberId}`,
|
|
|
@@ -483,6 +485,7 @@ Page({
|
|
|
JSON.stringify(parm),
|
|
|
function (res) {
|
|
|
if (res.code === 0) {
|
|
|
+ if (res.yicLogin && res.yicLogin.token) wx.setStorageSync("token", res.yicLogin.token);
|
|
|
wx.setStorageSync("USER", res.memberinfo);
|
|
|
wx.reLaunch({
|
|
|
url: "/pages/home/index/index",
|