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

去除保险时间字段

@@ -330,6 +330,7 @@ class WeChatBaseController extends BaseController @@ -330,6 +330,7 @@ class WeChatBaseController extends BaseController
330 $result1 = []; 330 $result1 = [];
331 $result2 = []; 331 $result2 = [];
332 foreach($vo as $k=>$v){ 332 foreach($vo as $k=>$v){
  333 + dump($vo);
333 if($v['form_type'] == 1){ 334 if($v['form_type'] == 1){
334 $result1[] = $v['insurance_price']; 335 $result1[] = $v['insurance_price'];
335 if(($v['status'] != 1 && $v['order_expire_time2'] < time()) or ($v['status'] != 3 && $v['order_expire_time2'] < time())){ 336 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 @@ -341,8 +342,6 @@ class WeChatBaseController extends BaseController
341 $result2[] = $v['subjoin_price']; 342 $result2[] = $v['subjoin_price'];
342 } 343 }
343 } 344 }
344 - dump($result1);  
345 - dump($result2);  
346 } 345 }
347 $arr['name'] = $key; 346 $arr['name'] = $key;
348 $arr['sum'] = array_sum($result2); 347 $arr['sum'] = array_sum($result2);