Merge branch 'dev' of https://gitea.lihaink.cn/mkm/multi-store into dev
This commit is contained in:
commit
3c2f945514
@ -274,10 +274,10 @@ class UserLogic extends BaseLogic
|
||||
//礼品券明细
|
||||
$query = UserSign::where(['uid'=>$uid]);
|
||||
if($params['mark'] == 1){
|
||||
$query->where('financial_pm',1);
|
||||
$query->where('financial_pm',0);
|
||||
}
|
||||
if($params['mark'] == 2){
|
||||
$query->where('financial_pm',0);
|
||||
$query->where('financial_pm',1);
|
||||
}
|
||||
$count = $query->count();
|
||||
$data =$query
|
||||
@ -289,10 +289,10 @@ class UserLogic extends BaseLogic
|
||||
//返还金明细 -todo back
|
||||
$query = VipFlow::with('store')->where(['user_id'=>$uid]);
|
||||
if($params['mark'] == 1){
|
||||
$query->where('status',1);
|
||||
$query->where('status',0);
|
||||
}
|
||||
if($params['mark'] == 2){
|
||||
$query->where('status',0);
|
||||
$query->where('status',1);
|
||||
}
|
||||
$count = $query->count();
|
||||
$data = $query
|
||||
|
Loading…
x
Reference in New Issue
Block a user