diff --git a/simplewind/cmf/controller/WeChatBaseController.php b/simplewind/cmf/controller/WeChatBaseController.php index cb8acf2..f9d90d1 100644 --- a/simplewind/cmf/controller/WeChatBaseController.php +++ b/simplewind/cmf/controller/WeChatBaseController.php @@ -334,12 +334,12 @@ class WeChatBaseController extends BaseController dump(time()-30*24*60*60); if($v['form_type'] == 1){ $result1[] = $v['insurance_price']; - if($v['order_expire_time'] < time() or $v['status'] == 1 or $v['order_about_time'] < (time()-30*24*60*60)){ + if($v['order_expire_time'] < time() or $v['status'] == 1 or $v['order_about_time'] > (time()-30*24*60*60)){ $result2[] = $v['insurance_price']; } }else if($v['form_type'] == 2){ $result1[] = $v['subjoin_price']; - if($v['order_expire_time'] < time() or $v['status'] == 1 or $v['order_about_time'] < (time()-30*24*60*60)){ + if($v['order_expire_time'] < time() or $v['status'] == 1 or $v['order_about_time'] > (time()-30*24*60*60)){ $result2[] = $v['subjoin_price']; } }