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

代理人模块

... ... @@ -160,6 +160,12 @@ class MeGuaranteeController extends WeChatBaseController
}
}
}else{
if(!empty($param['application'])){
$where['c.application'] = ['eq',$param['application']];
}
if(!empty($param['agent_phone'])){
$where['c.agent_phone'] = ['eq',$param['agent_phone']];
}
if(empty($param['application']) || empty($param['agent_phone'])){
$where['o.user_id'] = ['eq',$user_id];
}
... ...