获取用户信息传商户id

This commit is contained in:
qiaomu 2024-10-29 15:31:24 +08:00
parent 1bb3d6dddb
commit 58b945eb72

View File

@ -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;