You've already forked qlg.tsgz.moe
							
							13
This commit is contained in:
		| @@ -14,6 +14,7 @@ class CashDraws extends Base{ | |||||||
|           $where = []; |           $where = []; | ||||||
|           $where['targetType'] = (int)$targetType; |           $where['targetType'] = (int)$targetType; | ||||||
|           $where['targetId'] = (int)$targetId; |           $where['targetId'] = (int)$targetId; | ||||||
|  |           $where['cashStatus'] = 1; | ||||||
|           if(in_array($type,[0,1]))$where['moneyType'] = $type; |           if(in_array($type,[0,1]))$where['moneyType'] = $type; | ||||||
|           return $this->where($where)->order('cashId desc')->paginate()->toArray(); |           return $this->where($where)->order('cashId desc')->paginate()->toArray(); | ||||||
|       } |       } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user