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
026cf7a5
Commit
026cf7a5
authored
Nov 07, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
3c792e86
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
Broker.php
application/api_broker/controller/Broker.php
+1
-1
HomePageLog.php
application/api_broker/controller/HomePageLog.php
+1
-1
User.php
application/api_broker/controller/User.php
+3
-3
Member.php
application/index/controller/Member.php
+1
-1
Remark.php
application/index/controller/Remark.php
+2
-2
No files found.
application/api_broker/controller/Broker.php
View file @
026cf7a5
...
...
@@ -522,7 +522,7 @@ class Broker extends Basic
// 判断当天被拨打是否超过5次,同时判断是否当前经纪人跟当前客户是否有电话绑定
//0允许拨打 1不允许拨打
$data
[
'is_outpace_call_num'
]
=
0
;
$clientService
=
new
ClientService
(
$this
->
siteId
);
$clientService
=
new
ClientService
();
if
(
!
$clientService
->
dialTotal
(
$params
[
"user_id"
]))
{
$data
[
'is_outpace_call_num'
]
=
1
;
}
...
...
application/api_broker/controller/HomePageLog.php
View file @
026cf7a5
...
...
@@ -103,7 +103,7 @@ class HomePageLog extends Basic
$order
=
"f.id desc"
;
$result
=
$this
->
uPhoneFollowUpModel
->
getSearch
(
$pageNo
,
$pageSize
,
$order
,
$field
,
[],
$where_
,
""
);
$clientService
=
new
ClientService
(
$this
->
siteId
);
$clientService
=
new
ClientService
();
foreach
(
$result
as
$key
=>
$value
)
{
$agent_params
=
[];
$agent_params
[
"a.id"
]
=
$value
[
'agent_id'
];
...
...
application/api_broker/controller/User.php
View file @
026cf7a5
...
...
@@ -164,7 +164,7 @@ class User extends Basic
return
$this
->
response
(
"200"
,
"此条件没有找到数据"
);
}
$clientService
=
new
ClientService
(
$this
->
siteId
);
$clientService
=
new
ClientService
();
foreach
(
$userList
as
$k
=>
$v
)
{
/*判断是否纯房东 0:否 1:是 start*/
$is_single_homeowner
=
0
;
...
...
@@ -485,7 +485,7 @@ class User extends Basic
$call = new CallPhoneService();
$gresult = $call->getBindNum($user_res['user_phone'],$result[0]['phone']);*/
// 判断当天被拨打是否超过5次
$clientService
=
new
ClientService
(
$this
->
siteId
);
$clientService
=
new
ClientService
();
if
(
!
$clientService
->
dialTotal
(
$user_res
[
0
][
'id'
]))
{
return
$this
->
response
(
"201"
,
"当天被拨打超过5次"
,
[
'user_id'
=>
$user_res
[
0
][
'id'
]
]);
}
...
...
@@ -653,7 +653,7 @@ class User extends Basic
$result
=
$model_agent
->
searchAgentsByKeyword
(
"id,name,phone"
,
[
"id"
=>
$params
[
"agent_id"
]
]);
$call
=
new
CallPhoneService
();
$gresult
=
$call
->
getBindNum
(
$model_res
[
'user_phone'
],
$result
[
0
][
'phone'
]);
$clientService
=
new
ClientService
(
$this
->
siteId
);
$clientService
=
new
ClientService
();
if
(
!
$clientService
->
dialTotal
(
$model_res
[
0
][
'user_id'
])
&&
$gresult
==
0
)
{
return
$this
->
response
(
"201"
,
"当天被拨打超过5次"
,
[
'id'
=>
$model_res
[
0
][
'id'
]
]);
}
...
...
application/index/controller/Member.php
View file @
026cf7a5
...
...
@@ -341,7 +341,7 @@ class Member extends Basic{
0允许拨打 1不允许拨打
start*/
$is_outpace_call_num
=
0
;
$clientService
=
new
ClientService
(
$this
->
siteId
);
$clientService
=
new
ClientService
();
if
(
!
$clientService
->
dialTotal
(
$v
[
"id"
]))
{
$is_outpace_call_num
=
1
;
}
...
...
application/index/controller/Remark.php
View file @
026cf7a5
...
...
@@ -140,7 +140,7 @@ class Remark extends Basic
/* 判断当天被拨打是否超过5次,同时判断是否当前经纪人跟当前客户是否有电话绑定 start*/
//0允许拨打 1不允许拨打
$is_outpace_call_num
=
0
;
$clientService
=
new
ClientService
(
$this
->
siteId
);
$clientService
=
new
ClientService
();
if
(
!
$clientService
->
dialTotal
(
$v
[
"user_id"
]))
{
$is_outpace_call_num
=
1
;
}
...
...
@@ -314,7 +314,7 @@ class Remark extends Basic
// 判断当天被拨打是否超过5次,同时判断是否当前经纪人跟当前客户是否有电话绑定
//0允许拨打 1不允许拨打
$data
[
'is_outpace_call_num'
]
=
0
;
$clientService
=
new
ClientService
(
$this
->
siteId
);
$clientService
=
new
ClientService
();
if
(
!
$clientService
->
dialTotal
(
$params
[
"user_id"
]))
{
$data
[
'is_outpace_call_num'
]
=
1
;
}
...
...
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