mirror of
https://github.com/chowa/ejyy.git
synced 2026-01-21 05:07:48 +08:00
fix option mistake
This commit is contained in:
@@ -76,7 +76,6 @@ const PcOptionCardAction = <Action>{
|
||||
const owerInfo = await ctx.model
|
||||
.from('ejyy_wechat_mp_user')
|
||||
.where('id', userId)
|
||||
.andWhere('status', NORMAL_STATUS)
|
||||
.andWhere('intact', TRUE)
|
||||
.select('id', 'real_name', 'phone', 'avatar_url', 'gender')
|
||||
.first();
|
||||
|
||||
@@ -59,7 +59,6 @@ const PcOptionOwerAction = <Action>{
|
||||
const owerInfo = await ctx.model
|
||||
.from('ejyy_wechat_mp_user')
|
||||
.where('phone', phone)
|
||||
.andWhere('status', NORMAL_STATUS)
|
||||
.andWhere('intact', TRUE)
|
||||
.select('id', 'real_name', 'phone', 'avatar_url')
|
||||
.first();
|
||||
|
||||
Reference in New Issue
Block a user