Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
fb1fe4dd
Commit
fb1fe4dd
authored
Mar 01, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agentshopname
parent
59d1d4cc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Broker.php
application/api_broker/controller/Broker.php
+1
-1
Agents.php
application/model/Agents.php
+1
-1
No files found.
application/api_broker/controller/Broker.php
View file @
fb1fe4dd
...
...
@@ -245,7 +245,7 @@ class Broker extends Basic
$table
=
new
Agents
();
$Agents_res
=
$table
->
Agents_res
(
$v
[
'agent_id'
]);
//dump($Agents_res);
$UPhoneFollowPp_res
[
$k
][
'agentinfo'
]
=
$Agents_res
?
$Agents_res
[
'
realname'
]
.
'/'
.
$Agents_res
[
'phon
e'
]
:
'未知'
;
$UPhoneFollowPp_res
[
$k
][
'agentinfo'
]
=
$Agents_res
?
$Agents_res
[
'
agentshopname'
]
.
'-'
.
$Agents_res
[
'realnam
e'
]
:
'未知'
;
$UPhoneFollowPp_res
[
$k
][
'user_pic'
]
=
HEADERIMGURL
.
$Agents_res
[
'head_portrait'
];
}
...
...
application/model/Agents.php
View file @
fb1fe4dd
...
...
@@ -173,7 +173,7 @@ class Agents extends Model
{
return
db
(
'agents'
)
->
where
(
'id'
,
$agent_id
)
->
field
(
'realname,phone,head_portrait'
)
->
field
(
'realname,phone,head_portrait
,agentshopname
'
)
->
find
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment