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
24b80d99
Commit
24b80d99
authored
Apr 09, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户详情修改
parent
f6015531
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
Broker.php
application/api_broker/controller/Broker.php
+8
-9
No files found.
application/api_broker/controller/Broker.php
View file @
24b80d99
...
@@ -249,16 +249,16 @@ class Broker extends Basic
...
@@ -249,16 +249,16 @@ class Broker extends Basic
$table
=
new
AAgents
();
$table
=
new
AAgents
();
foreach
(
$UPhoneFollowPp_res
as
$k
=>
$v
){
foreach
(
$UPhoneFollowPp_res
as
$k
=>
$v
){
$
Agents_res
=
$table
->
verifyUser
(
'name,phone
'
,
''
,[
'id'
=>
$v
[
'agent_id'
]]);
$
agents_res
=
$table
->
verifyUser
(
'name,phone,img
'
,
''
,[
'id'
=>
$v
[
'agent_id'
]]);
$UPhoneFollowPp_res
[
$k
][
'agentinfo'
]
=
$
Agents_res
?
$Agents_res
[
'name'
]
.
'-'
.
$A
gents_res
[
'phone'
]
:
'未知'
;
$UPhoneFollowPp_res
[
$k
][
'agentinfo'
]
=
$
agents_res
?
$agents_res
[
'name'
]
.
'-'
.
$a
gents_res
[
'phone'
]
:
'未知'
;
$UPhoneFollowPp_res
[
$k
][
'user_pic'
]
=
AGENTHEADERIMGURL
.
$
A
gents_res
[
'img'
];
$UPhoneFollowPp_res
[
$k
][
'user_pic'
]
=
AGENTHEADERIMGURL
.
$
a
gents_res
[
'img'
];
$UPhoneFollowPp_res
[
$k
][
'label'
]
=
''
;
$UPhoneFollowPp_res
[
$k
][
'label'
]
=
''
;
//电话跟进标签
//电话跟进标签
if
(
$v
[
'labels_id'
]){
if
(
$v
[
'labels_id'
]){
$table
=
new
ULabels
();
$table
=
new
ULabels
();
$table_res
=
$table
->
get_labelsname
(
$v
[
'labels_id'
]);
$table_res
=
$table
->
get_labelsname
(
$v
[
'labels_id'
]);
$UPhoneFollowPp_res
[
$k
][
'label'
]
=
$table_res
[
0
][
'name'
];
$UPhoneFollowPp_res
[
$k
][
'label'
]
=
$table_res
[
0
][
'name'
];
}
}
}
}
...
@@ -267,9 +267,8 @@ class Broker extends Basic
...
@@ -267,9 +267,8 @@ class Broker extends Basic
$user_res
[
'user_pic'
]
=
HEADERIMGURL
.
$user_res
[
'user_pic'
];
$user_res
[
'user_pic'
]
=
HEADERIMGURL
.
$user_res
[
'user_pic'
];
$table
=
new
AAgents
();
$table
=
new
AAgents
();
$Agents_res
=
$table
->
verifyUser
(
'name,phone'
,
''
,
[
'id'
=>
$user_res
[
'agent_id'
]]);
$agents_res
=
$table
->
verifyUser
(
'name,phone'
,
''
,
[
'id'
=>
$user_res
[
'agent_id'
]]);
$user_res
[
'agentinfo'
]
=
$agents_res
?
$agents_res
[
'name'
]
.
'-'
.
$agents_res
[
'phone'
]
:
'未知'
;
$user_res
[
'agentinfo'
]
=
$Agents_res
?
$Agents_res
[
'name'
]
.
'-'
.
$Agents_res
[
'phone'
]
:
'未知'
;
$records
=
new
GOperatingRecords
();
$records
=
new
GOperatingRecords
();
$records_result
=
$records
->
user_history
(
$user_id
);
$records_result
=
$records
->
user_history
(
$user_id
);
...
...
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