正在显示
1 个修改的文件
包含
1 行增加
和
2 行删除
@@ -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); |
-
请 注册 或 登录 后发表评论