Commit d4c16deea6da6a5adeb7679e86f12807dd3ed52a
1 parent
5130660b
先更新一下会员
Showing
1 changed file
with
2 additions
and
1 deletions
packageA/pages/profile/profile.js
@@ -590,7 +590,8 @@ Page({ | @@ -590,7 +590,8 @@ Page({ | ||
590 | } | 590 | } |
591 | }); | 591 | }); |
592 | 592 | ||
593 | - if(user){ | 593 | + if(user){ |
594 | + getApp().promiseGet("/api/weshop/users/getAndUpdateUser/" + r.stoid + "/" + user.user_id,{}); | ||
594 | self.setData({user:user}) | 595 | self.setData({user:user}) |
595 | } | 596 | } |
596 | 597 |