Commit 67228408 authored by hujun's avatar hujun

realname

parent a9dfce4a
...@@ -847,7 +847,7 @@ class AAgents extends BaseModel ...@@ -847,7 +847,7 @@ class AAgents extends BaseModel
public function agentsDetail($id) public function agentsDetail($id)
{ {
if ($id) { if ($id) {
$result = $this->field('id,name,create_time,img,store_id')->find($id); $result = $this->field('id,name as realname,create_time,img,store_id')->find($id);
$result['head_portrait'] = 'user_header/' . $result['img']; //头像 $result['head_portrait'] = 'user_header/' . $result['img']; //头像
$evaluate_grade = Db::table('u_evaluate') $evaluate_grade = Db::table('u_evaluate')
......
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