Commit 47707115 authored by 黄奎's avatar 黄奎

绑定修改

parent b9fca5c1
...@@ -1446,6 +1446,10 @@ ...@@ -1446,6 +1446,10 @@
saveWechat() { saveWechat() {
this.apipost("admin_post_BindWeChat", this.weChatMsg, res => { this.apipost("admin_post_BindWeChat", this.weChatMsg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
var oldUser = this.getLocalStorage();
oldUser.MallUserId = this.weChatMsg.MallUserId;
oldUser.MallSmallShopsId = this.weChatMsg.MallSmallShopsId;
localStorage.userInfo = JSON.stringify(oldUser);
this.Success(res.data.message); this.Success(res.data.message);
this.getList(); this.getList();
} else { } else {
......
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