...
|
...
|
@@ -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];
|
|
|
}
|
...
|
...
|
|