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
af218d09
Commit
af218d09
authored
Mar 22, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户电话跟修改
parent
f72fc2df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Broker.php
application/api_broker/controller/Broker.php
+3
-1
No files found.
application/api_broker/controller/Broker.php
View file @
af218d09
...
...
@@ -138,6 +138,7 @@ class Broker extends Basic
$labels_id
=
empty
(
$params
[
'labels_id'
])
?
''
:
$params
[
'labels_id'
];
$user_id
=
$params
[
'user_id'
];
$agent_id
=
$params
[
'agent_id'
];
$user_status
=
$params
[
'user_status'
];
$type
=
$params
[
'type'
];
//0电话跟进 1普通跟进
//主表查询商铺详细信息
$UPhoneFollowPp
=
new
UPhoneFollowPp
();
...
...
@@ -146,12 +147,13 @@ class Broker extends Basic
$UPhoneFollowPp
->
user_id
=
$user_id
;
$UPhoneFollowPp
->
agent_id
=
$agent_id
;
$UPhoneFollowPp
->
type
=
$type
;
$UPhoneFollowPp
->
user_status
=
$user_status
;
$UPhoneFollowPp
->
save
();
//dump($UPhoneFollowPp->id);exit;
if
(
$type
==
'1'
){
//普通跟进,对客户状态进行更新 0:求租;1:已租;-1:无效
$Users
=
new
Users
();
$Users
->
update_user_status
([
'id'
=>
$user_id
,
'user_status'
=>
$
labels_id
]);
$Users
->
update_user_status
([
'id'
=>
$user_id
,
'user_status'
=>
$
user_status
]);
}
if
(
$UPhoneFollowPp
->
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