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
adbfc5c7
Commit
adbfc5c7
authored
Jun 12, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ea552ca4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
User.php
application/api_broker/controller/User.php
+5
-3
UserValidate.php
application/api_broker/validate/UserValidate.php
+1
-1
No files found.
application/api_broker/controller/User.php
View file @
adbfc5c7
...
...
@@ -7,6 +7,7 @@ use app\api_broker\service\CallPhoneService;
use
app\api_broker\service\ClientService
;
use
app\api_broker\service\UserExpiredTimeService
;
use
app\api_broker\service\VipService
;
use
app\index\service\OfficeUserLogService
;
use
app\index\service\UserLogService
;
use
app\index\service\UserService
;
use
app\model\AAgents
;
...
...
@@ -29,13 +30,14 @@ class User extends Basic
{
private
$userModel
;
private
$userLogService
;
private
$OfficeUserLogService
;
public
function
__construct
(
$request
=
null
)
{
parent
::
__construct
(
$request
);
$this
->
userModel
=
new
Users
();
$this
->
userLogService
=
new
UserLogService
();
$this
->
OfficeUserLogService
=
new
OfficeUserLogService
();
}
/**
...
...
@@ -863,8 +865,8 @@ class User extends Basic
$pageNo
=
empty
(
$params
[
'page_no'
])
?
1
:
$params
[
'page_no'
];
$pageSize
=
empty
(
$params
[
'page_size'
])
?
15
:
$params
[
'page_size'
];
if
(
$params
[
'entrust_type'
]
==
0
){
$result
=
$this
->
u
serLogService
->
phoneFollowUp
(
$user_id
,
$this
->
siteId
,
$pageNo
,
$pageSize
);
if
(
isset
(
$params
[
'entrust_type'
])
&&
(
$params
[
'entrust_type'
]
==
1
)
){
$result
=
$this
->
OfficeU
serLogService
->
phoneFollowUp
(
$user_id
,
$this
->
siteId
,
$pageNo
,
$pageSize
);
}
else
{
$result
=
$this
->
userLogService
->
phoneFollowUp
(
$user_id
,
$this
->
siteId
,
$pageNo
,
$pageSize
);
}
...
...
application/api_broker/validate/UserValidate.php
View file @
adbfc5c7
...
...
@@ -36,6 +36,6 @@ class UserValidate extends Validate{
protected
$scene
=
[
'getLastOrNextUserID'
=>
[
'user_id'
,
'agent_id'
,
'type'
],
'getLastOrNextUserIDPhoneFollowPu'
=>
[
'id'
,
'agent_id'
,
'type'
],
'followUpLog'
=>
[
'user_id'
,
'entrust_type'
],
'followUpLog'
=>
[
'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