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
ddef19c4
Commit
ddef19c4
authored
Jan 10, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加跟进
parent
ae5bbd98
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
.DS_Store
application/.DS_Store
+0
-0
Broker.php
application/api_broker/controller/Broker.php
+3
-1
Member.php
application/index/controller/Member.php
+4
-2
.DS_Store
application/model/.DS_Store
+0
-0
No files found.
application/.DS_Store
View file @
ddef19c4
No preview for this file type
application/api_broker/controller/Broker.php
View file @
ddef19c4
...
...
@@ -29,6 +29,7 @@ use app\model\GOperatingRecords;
use
app\model\NoteLog
;
use
app\model\OBargainModel
;
use
app\model\UPhoneFollowUp
;
use
app\model\UPhoneFollowUpTemporary
;
use
app\model\Users
;
use
think\Exception
;
use
think\Log
;
...
...
@@ -355,7 +356,8 @@ class Broker extends Basic
$user_status
=
$params
[
'user_status'
];
$Users
=
new
Users
();
$s_phone_follow_up
=
new
UPhoneFollowUp
(
$this
->
siteId
);
// $s_phone_follow_up = new UPhoneFollowUp($this->siteId);
$s_phone_follow_up
=
new
UPhoneFollowUpTemporary
(
$this
->
siteId
);
$result
=
$s_phone_follow_up
->
savePhoneFollow
(
$params
);
if
(
$result
>
0
)
{
...
...
application/index/controller/Member.php
View file @
ddef19c4
...
...
@@ -394,8 +394,10 @@ class Member extends Basic{
$params
[
'agent_id'
]
=
Session
::
get
(
"user_info.id"
);
$params
[
'type'
]
=
1
;
$params
[
'user_status'
]
=
$params
[
'user_status'
];
$model
=
new
UPhoneFollowUp
(
$this
->
siteId
);
$result
=
$model
->
savePhoneFollow
(
$params
);
// $model = new UPhoneFollowUp($this->siteId);
$s_phone_follow_up
=
new
UPhoneFollowUpTemporary
(
$this
->
siteId
);
$result
=
$s_phone_follow_up
->
savePhoneFollow
(
$params
);
$user
=
new
Users
();
$user
->
update_user_status
([
'id'
=>
$params
[
'user_id'
],
'user_status'
=>
$params
[
'user_status'
]]);
...
...
application/model/.DS_Store
View file @
ddef19c4
No preview for this file type
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