修复:贡献分享分红易出记录未区分用户,导致用户可以看见所有用户的易出记录
This commit is contained in:
parent
6106ca23c9
commit
d4532c037b
|
|
@ -629,6 +629,7 @@ class IndexController extends ApiController{
|
||||||
->select(['id','amounts','created_at','actual_amounts','poundage','status'])
|
->select(['id','amounts','created_at','actual_amounts','poundage','status'])
|
||||||
->where('type', 'Yunshop\CulturalSpace\models\ContributionBonusLog')
|
->where('type', 'Yunshop\CulturalSpace\models\ContributionBonusLog')
|
||||||
->orderBy('created_at','DESC')
|
->orderBy('created_at','DESC')
|
||||||
|
->where('member_id',$uid)
|
||||||
->paginate(20)
|
->paginate(20)
|
||||||
->toArray();
|
->toArray();
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue