修复:贡献分享分红易出记录未区分用户,导致用户可以看见所有用户的易出记录

This commit is contained in:
wuhui_zzw 2023-12-21 10:45:09 +08:00
parent 6106ca23c9
commit d4532c037b
1 changed files with 1 additions and 0 deletions

View File

@ -629,6 +629,7 @@ class IndexController extends ApiController{
->select(['id','amounts','created_at','actual_amounts','poundage','status'])
->where('type', 'Yunshop\CulturalSpace\models\ContributionBonusLog')
->orderBy('created_at','DESC')
->where('member_id',$uid)
->paginate(20)
->toArray();
break;