作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

去除保险时间字段

... ... @@ -330,6 +330,7 @@ class WeChatBaseController extends BaseController
$result1 = [];
$result2 = [];
foreach($vo as $k=>$v){
dump($vo);
if($v['form_type'] == 1){
$result1[] = $v['insurance_price'];
if(($v['status'] != 1 && $v['order_expire_time2'] < time()) or ($v['status'] != 3 && $v['order_expire_time2'] < time())){
... ... @@ -341,8 +342,6 @@ class WeChatBaseController extends BaseController
$result2[] = $v['subjoin_price'];
}
}
dump($result1);
dump($result2);
}
$arr['name'] = $key;
$arr['sum'] = array_sum($result2);
... ...