Commit eb6d8ec7 by 程默

123

parent 86cdfd8b
...@@ -11,7 +11,7 @@ export default { ...@@ -11,7 +11,7 @@ export default {
return { return {
options: {}, options: {},
session_key: "", session_key: "",
// link: "http://test-m-shop.mayi888.cn", // link: "https://test-m-shop.mayi888.cn",
link: "http://localhost:3000", link: "http://localhost:3000",
page: "/", page: "/",
params: "?mixid=antgood", params: "?mixid=antgood",
......
...@@ -202,10 +202,10 @@ export default { ...@@ -202,10 +202,10 @@ export default {
.then(res => { .then(res => {
//绑定成功 //绑定成功
if (res.data.code == 200) { if (res.data.code == 200) {
this.backParams += `&sessionid=${res.data.data}`; this.backParams += `&sessionid=${res.data.data.sessionId}`;
wx.setStorage({ wx.setStorage({
key: "sessionid", key: "sessionid",
data: res.data.data data: res.data.data.sessionId
}); });
wx.reLaunch({ wx.reLaunch({
url: `../index/main?from=login&backpath=${ url: `../index/main?from=login&backpath=${
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment