Skip to content

Commit

Permalink
fix option mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
AYKM committed May 4, 2022
1 parent 8336354 commit cb622ca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion server/src/module/pc/controller/option/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion server/src/module/pc/controller/option/ower.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit cb622ca

Please sign in to comment.