app/services/statistic/TradeStatisticServices.php 文件中
$whereInRecharge['recharge_type'] = 'no_system';
$whereInRecharge['recharge_type'] = 'system';
app/model/user/UserRecharge.php 中 修改此搜索器内容
public function searchRechargeTypeAttr($query, $value){
if ($value == 'no_system') {
$query->where('recharge_type', '<>', 'system');
} else {
$query->where('recharge_type', $value);
}
}
修改后数据获取正确