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
a11c2e09
Commit
a11c2e09
authored
Jan 10, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
电话跟进
parent
f853f845
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
Broker.php
application/api_broker/controller/Broker.php
+7
-0
Member.php
application/index/controller/Member.php
+7
-0
UPhoneFollowUpTemporary.php
application/model/UPhoneFollowUpTemporary.php
+0
-1
No files found.
application/api_broker/controller/Broker.php
View file @
a11c2e09
...
...
@@ -31,6 +31,7 @@ use app\model\OBargainModel;
use
app\model\UPhoneFollowUp
;
use
app\model\UPhoneFollowUpTemporary
;
use
app\model\Users
;
use
app\task\controller\FollowUpTask
;
use
think\Exception
;
use
think\Log
;
use
think\Request
;
...
...
@@ -355,6 +356,12 @@ class Broker extends Basic
$user_id
=
$params
[
'user_id'
];
$user_status
=
$params
[
'user_status'
];
$date
=
date
(
"Y-m-d"
,
time
());
$t_follow_up_task
=
new
FollowUpTask
();
if
(
!
$t_follow_up_task
->
isExistTable
(
$date
,
$this
->
siteId
)){
return
$this
->
response
(
"101"
,
"建表失败!"
);
}
$Users
=
new
Users
();
// $s_phone_follow_up = new UPhoneFollowUp($this->siteId);
$s_phone_follow_up
=
new
UPhoneFollowUpTemporary
(
$this
->
siteId
);
...
...
application/index/controller/Member.php
View file @
a11c2e09
...
...
@@ -14,6 +14,7 @@ use app\model\GOperatingRecords;
use
app\model\UPhoneFollowUp
;
use
app\model\UPhoneFollowUpTemporary
;
use
app\model\Users
;
use
app\task\controller\FollowUpTask
;
use
think\Log
;
use
think\Request
;
use
think\session
;
...
...
@@ -390,6 +391,12 @@ class Member extends Basic{
return
$this
->
response
(
101
,
$msg
=
'缺少参数'
,
$params
);
}
$date
=
date
(
"Y-m-d"
,
time
());
$t_follow_up_task
=
new
FollowUpTask
();
if
(
!
$t_follow_up_task
->
isExistTable
(
$date
,
$this
->
siteId
)){
return
$this
->
response
(
"101"
,
"建表失败!"
);
}
//$params['id'] = '';
$params
[
'labels_id'
]
=
0
;
$params
[
'agent_id'
]
=
Session
::
get
(
"user_info.id"
);
...
...
application/model/UPhoneFollowUpTemporary.php
View file @
a11c2e09
...
...
@@ -73,7 +73,6 @@ class UPhoneFollowUpTemporary extends BaseModel
$city
=
'上海市'
;
$disc
=
'黄埔区'
;
}
$arr
[
"site_id"
]
=
$this
->
siteId
;
$arr
[
"province"
]
=
$province
;
$arr
[
"city"
]
=
$city
;
$arr
[
"disc"
]
=
$disc
;
...
...
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