作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

托管成功短信提示

@@ -124,7 +124,7 @@ class MeGuaranteeController extends WeChatBaseController @@ -124,7 +124,7 @@ class MeGuaranteeController extends WeChatBaseController
124 }else if($param['status'] == 2){ 124 }else if($param['status'] == 2){
125 $where['o.status'] = ['eq',3]; 125 $where['o.status'] = ['eq',3];
126 $where['c.insurer'] = ['eq',$param['insurer']]; 126 $where['c.insurer'] = ['eq',$param['insurer']];
127 - $where['o.order_about_time'] = array(array('<',$time),array('>',$time-30*24*60*60));//array(array('gt',1),array('lt',10)) 127 + $where['o.order_about_time'] = array(array('<',$time),array('>',$time+30*24*60*60));//array(array('gt',1),array('lt',10))
128 // $where['o.order_about_time'] = ['>',$time]; 128 // $where['o.order_about_time'] = ['>',$time];
129 $whereor = "o.status = 1 and c.insurer = "."'".$insurer."'"." and o.order_about_time < $time and o.order_about_time > ".($time-30*24*60*60); 129 $whereor = "o.status = 1 and c.insurer = "."'".$insurer."'"." and o.order_about_time < $time and o.order_about_time > ".($time-30*24*60*60);
130 }else if($param['status'] == 3){ 130 }else if($param['status'] == 3){
@@ -51,7 +51,7 @@ class OrderInfoModel extends Model @@ -51,7 +51,7 @@ class OrderInfoModel extends Model
51 $time = time(); 51 $time = time();
52 $where1['o.delete_time'] = ['eq',0]; 52 $where1['o.delete_time'] = ['eq',0];
53 $where1['c.expire_time'] = ['>',time()];//判断保单是否还在缴费期限内 53 $where1['c.expire_time'] = ['>',time()];//判断保单是否还在缴费期限内
54 - //$where1['o.order_expire_time'] = ['>',time()];//筛选出托管中状态 54 + $where1['o.order_expire_time'] = ['>',time()];//筛选出托管中状态
55 //$where1['o.status'] = ['eq',3];//筛选出托管中状态 55 //$where1['o.status'] = ['eq',3];//筛选出托管中状态
56 $field = "c.*,o.order_expire_time,o.status"; 56 $field = "c.*,o.order_expire_time,o.status";
57 $data = $this 57 $data = $this