作者 王晓刚
1 个管道 的构建 通过 耗费 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 }