获取用户信息传商户id
This commit is contained in:
parent
1bb3d6dddb
commit
58b945eb72
|
@ -59,7 +59,8 @@ Page({
|
|||
this.getUnReadNumber()
|
||||
},
|
||||
async init() {
|
||||
const result = await getUserInfo();
|
||||
const tenement = wx.getStorageSync('tenement')
|
||||
const result = await getUserInfo(tenement?.id);
|
||||
if (result.code !== OK) {
|
||||
alertInfo(result.message)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user