|
@@ -127,7 +127,7 @@ class UserBill extends BaseModel
|
|
|
public static function getFanList($where){
|
|
|
$list=self::alias('a')->join('user r','a.uid=r.uid')
|
|
|
->where('a.category','now_money')
|
|
|
- ->where('a.type', 'in','brokerage,push,sale,jt_push,zt_sale')
|
|
|
+ ->where('a.type', 'in','brokerage,push,sale,jt_push,zt_sale,team,bonus')
|
|
|
->where('a.pm', 1)
|
|
|
->order('a.number desc')
|
|
|
->join('store_order o','o.id=a.link_id')
|
|
@@ -179,7 +179,7 @@ class UserBill extends BaseModel
|
|
|
}
|
|
|
//设置单个用户查询
|
|
|
public static function setOneWhere($where,$uid){
|
|
|
- $model=self::where('uid', $uid)->where('category', 'now_money')->where('type', 'in', 'brokerage,push,sale,jt_push,zt_sale');
|
|
|
+ $model=self::where('uid', $uid)->where('category', 'now_money')->where('type', 'in', 'brokerage,push,sale,jt_push,zt_sale,team,bonus');
|
|
|
$time['data'] = '';
|
|
|
if(strlen(trim($where['start_time'])) && strlen(trim($where['end_time']))){
|
|
|
$time['data'] = $where['start_time'].' - '.$where['end_time'];
|