完善发票和充值
This commit is contained in:
@@ -39,7 +39,6 @@ Component({
|
||||
},
|
||||
async setAdmin(e) {
|
||||
const { user } = e.currentTarget.dataset;
|
||||
console.log('user', user)
|
||||
await wxModal({ content: `你的管理员身份将转交给${user.nickName}` })
|
||||
const { code, message } = await approveUser({ userId: user.id, type: 2 })
|
||||
if (code !== OK) {
|
||||
|
Reference in New Issue
Block a user