1
0
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:
AYKM
2022-05-04 14:50:36 +08:00
parent 83363542b8
commit cb622ca880
2 changed files with 0 additions and 2 deletions

View File

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

View File

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