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
|
const owerInfo = await ctx.model
|
||||||
.from('ejyy_wechat_mp_user')
|
.from('ejyy_wechat_mp_user')
|
||||||
.where('id', userId)
|
.where('id', userId)
|
||||||
.andWhere('status', NORMAL_STATUS)
|
|
||||||
.andWhere('intact', TRUE)
|
.andWhere('intact', TRUE)
|
||||||
.select('id', 'real_name', 'phone', 'avatar_url', 'gender')
|
.select('id', 'real_name', 'phone', 'avatar_url', 'gender')
|
||||||
.first();
|
.first();
|
||||||
|
|||||||
@@ -59,7 +59,6 @@ const PcOptionOwerAction = <Action>{
|
|||||||
const owerInfo = await ctx.model
|
const owerInfo = await ctx.model
|
||||||
.from('ejyy_wechat_mp_user')
|
.from('ejyy_wechat_mp_user')
|
||||||
.where('phone', phone)
|
.where('phone', phone)
|
||||||
.andWhere('status', NORMAL_STATUS)
|
|
||||||
.andWhere('intact', TRUE)
|
.andWhere('intact', TRUE)
|
||||||
.select('id', 'real_name', 'phone', 'avatar_url')
|
.select('id', 'real_name', 'phone', 'avatar_url')
|
||||||
.first();
|
.first();
|
||||||
|
|||||||
Reference in New Issue
Block a user