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

托管成功短信提示

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