@ -986,6 +986,9 @@ class AlipayTradeService extends CI_Controller
if ($row['biz_type'] !== '其它' && $row['biz_type'] !== '在线支付' && $row['biz_type'] !== '转账') {
continue;
}
if (strpos($row['remark'], '基金申购') !== false) {
$total_amount = floatval($row['income'])>0 ? $row['income'] : $row['expenditure'];
$trade_type = floatval($total_amount)>0 ? 'pay' : 'refund';
$trade_no = $row['trade_no'];