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