parent
e17919c9f6
commit
4239e59069
|
|
@ -79,7 +79,7 @@ class AgentDao extends BaseDao{
|
|||
},
|
||||
])
|
||||
->order('create_time DESC,id DESC')
|
||||
->append(['only_key','mer_id_list','children_count','agent_type_text']);
|
||||
->append(['mer_id_list','children_count','agent_type_text']);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -25,15 +25,6 @@ class Agent extends BaseModel{
|
|||
return 'agent';
|
||||
}
|
||||
|
||||
/**
|
||||
* Common: 获取器 —— 信息唯一键(上级一致)
|
||||
* Author: wu-hui
|
||||
* Time: 2024/01/24 18:15
|
||||
* @return string
|
||||
*/
|
||||
public function getOnlyKeyAttr():string{
|
||||
return ($this->uid ?? '') . '_' . ($this->agent_type ?? '');
|
||||
}
|
||||
/**
|
||||
* Common: 获取器 —— 获取配送商关联的商户
|
||||
* Author: wu-hui
|
||||
|
|
|
|||
|
|
@ -285,8 +285,6 @@ class AgentRepository extends BaseRepository{
|
|||
->select()
|
||||
->toArray();
|
||||
}
|
||||
// 信息处理及返回
|
||||
$childrenList = array_column($childrenList,null,'only_key');
|
||||
|
||||
return [
|
||||
'info' => $info ?? [],
|
||||
|
|
|
|||
Loading…
Reference in New Issue