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
4a85e3ac
Commit
4a85e3ac
authored
Aug 28, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
c5d65b66
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Performance.php
application/api_broker/controller/Performance.php
+0
-1
User.php
application/api_broker/controller/User.php
+4
-4
No files found.
application/api_broker/controller/Performance.php
View file @
4a85e3ac
...
...
@@ -547,7 +547,6 @@ class Performance extends Basic
}
else
{
//return $this->response("200", "success", $result["date"]);
return
$this
->
response
(
"200"
,
"success"
,
[
"date"
=>
$result
[
"date"
]
,
"total"
=>
$result
[
"total"
]
]);
}
}
...
...
application/api_broker/controller/User.php
View file @
4a85e3ac
...
...
@@ -448,13 +448,13 @@ class User extends Basic
}
$model
=
new
AAgents
();
$result
=
$model
->
searchAgentsByKeyword
(
"id,name,phone"
,
[
"id"
=>
$params
[
"agent_id"
]]);
//
$model = new AAgents();
/*
$result = $model->searchAgentsByKeyword("id,name,phone", [ "id" => $params["agent_id"]]);
$call = new CallPhoneService();
$gresult
=
$call
->
getBindNum
(
$user_res
[
'user_phone'
],
$result
[
0
][
'phone'
]);
$gresult = $call->getBindNum($user_res['user_phone'],$result[0]['phone']);
*/
// 判断当天被拨打是否超过5次
$clientService
=
new
ClientService
();
if
(
!
$clientService
->
dialTotal
(
$user_res
[
0
][
'id'
])
&&
$gresult
==
0
)
{
if
(
!
$clientService
->
dialTotal
(
$user_res
[
0
][
'id'
]))
{
return
$this
->
response
(
"201"
,
"当天被拨打超过5次"
,
[
'user_id'
=>
$user_res
[
0
][
'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