Commit 62949d8c authored by zhuwei's avatar zhuwei

bug

parent b3376f48
......@@ -435,6 +435,18 @@ class Broker extends Basic
$user_res['agentinfo'] = $agents_res ? $agents_res['name'] . '-' . $agents_res['phone'] : '未知';
$data['agent_path'] = AGENTHEADERIMGURL;
/*查询站点名*/
$site_model = new ASite();
foreach (explode(',', $user_res['site_ids']) as $site_k => $site_v) {
$site_field = 'city';
$site_params['id'] = $site_v;
$site_model = $site_model->findByOne($site_field,$site_params);
//dump($site_model["city"]);
$user_res['site_name'][]= $site_model["city"] ;
}
/*查询站点名*/
$orderLog = new OrderLogService();
$data['user_date'] = $orderLog->selectListByUserId($user_id, '',$this->siteId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment