正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -333,12 +333,12 @@ class WeChatBaseController extends BaseController | @@ -333,12 +333,12 @@ class WeChatBaseController extends BaseController | ||
333 | foreach($vo as $k=>$v){ | 333 | foreach($vo as $k=>$v){ |
334 | if($v['form_type'] == 1){ | 334 | if($v['form_type'] == 1){ |
335 | $result1[] = $v['insurance_price']; | 335 | $result1[] = $v['insurance_price']; |
336 | - if($v['order_expire_time'] < time() or $v['status'] == 1 or $v['order_about_time'] > (time()-30*24*60*60)){ | 336 | + if($v['status'] == 1 && ($v['order_expire_time'] < time() or $v['status'] == 1 or $v['order_about_time'] > (time()-30*24*60*60))){ |
337 | $result2[] = $v['insurance_price']; | 337 | $result2[] = $v['insurance_price']; |
338 | } | 338 | } |
339 | }else if($v['form_type'] == 2){ | 339 | }else if($v['form_type'] == 2){ |
340 | $result1[] = $v['subjoin_price']; | 340 | $result1[] = $v['subjoin_price']; |
341 | - if($v['order_expire_time'] < time() or $v['status'] == 1 or $v['order_about_time'] > (time()-30*24*60*60)){ | 341 | + if($v['status'] == 1 && ($v['order_expire_time'] < time() or $v['status'] == 1 or $v['order_about_time'] > (time()-30*24*60*60))){ |
342 | $result2[] = $v['subjoin_price']; | 342 | $result2[] = $v['subjoin_price']; |
343 | } | 343 | } |
344 | } | 344 | } |
-
请 注册 或 登录 后发表评论