代理update

This commit is contained in:
“wanyongkang”
2021-07-07 18:37:40 +08:00
parent d9bafc6134
commit ad9f10fc2c

View File

@@ -54,7 +54,7 @@ class Score extends Controller
$where = [];
$where_str = '';
if(isset($get_data['keyWord'])){
if(!empty($get_data['keyWord'])){
$agent_user_model = new AgentUser;
$id = $agent_user_model->getOne(['username'=>$get_data['keyWord']])['id'];
$where['agent_id'] = $id;