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

代理人模块

@@ -160,6 +160,12 @@ class MeGuaranteeController extends WeChatBaseController @@ -160,6 +160,12 @@ class MeGuaranteeController extends WeChatBaseController
160 } 160 }
161 } 161 }
162 }else{ 162 }else{
  163 + if(!empty($param['application'])){
  164 + $where['c.application'] = ['eq',$param['application']];
  165 + }
  166 + if(!empty($param['agent_phone'])){
  167 + $where['c.agent_phone'] = ['eq',$param['agent_phone']];
  168 + }
163 if(empty($param['application']) || empty($param['agent_phone'])){ 169 if(empty($param['application']) || empty($param['agent_phone'])){
164 $where['o.user_id'] = ['eq',$user_id]; 170 $where['o.user_id'] = ['eq',$user_id];
165 } 171 }