...
|
...
|
@@ -330,8 +330,6 @@ class WeChatBaseController extends BaseController |
|
|
$result1 = [];
|
|
|
$result2 = [];
|
|
|
foreach($vo as $k=>$v){
|
|
|
dump($v['order_about_time']);
|
|
|
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)){
|
...
|
...
|
@@ -392,8 +390,6 @@ class WeChatBaseController extends BaseController |
|
|
}
|
|
|
}
|
|
|
}
|
|
|
dump($result1);
|
|
|
dump($result2);
|
|
|
if(empty($result1)){//未有保单
|
|
|
$arr['type'] = 1;
|
|
|
}else if(empty($result2)){//保障缺失
|
...
|
...
|
|