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
f23b102c
Commit
f23b102c
authored
Oct 22, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
区分城市
parent
09b4fc6f
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
Client.php
application/api_broker/controller/Client.php
+2
-2
HomePageLog.php
application/api_broker/controller/HomePageLog.php
+1
-1
OrderLogService.php
application/api_broker/service/OrderLogService.php
+1
-1
Remark.php
application/index/controller/Remark.php
+3
-3
No files found.
application/api_broker/controller/Broker.php
View file @
f23b102c
...
@@ -310,7 +310,7 @@ class Broker extends Basic
...
@@ -310,7 +310,7 @@ class Broker extends Basic
$params
[
'disc'
]
=
$result
[
0
][
'disc'
]
?
$result
[
0
][
'disc'
]
:
'黄浦区'
;
$params
[
'disc'
]
=
$result
[
0
][
'disc'
]
?
$result
[
0
][
'disc'
]
:
'黄浦区'
;
}
}
$UPhoneFollowPp
=
new
UPhoneFollowPp
();
$UPhoneFollowPp
=
new
UPhoneFollowPp
(
$this
->
siteId
);
$result
=
$UPhoneFollowPp
->
savePhoneFollow
(
$params
);
$result
=
$UPhoneFollowPp
->
savePhoneFollow
(
$params
);
if
(
$result
>
0
)
{
if
(
$result
>
0
)
{
...
...
application/api_broker/controller/Client.php
View file @
f23b102c
...
@@ -171,7 +171,7 @@ class Client extends Basic
...
@@ -171,7 +171,7 @@ class Client extends Basic
*/
*/
public
function
agentUserFollow
(){
public
function
agentUserFollow
(){
header
(
'Access-Control-Allow-Origin:*'
);
header
(
'Access-Control-Allow-Origin:*'
);
$table
=
new
UPhoneFollowPp
;
$table
=
new
UPhoneFollowPp
(
$this
->
siteId
)
;
$data
[
'msg'
]
=
''
;
$data
[
'msg'
]
=
''
;
$params
=
$this
->
request
->
param
();
$params
=
$this
->
request
->
param
();
$time
=
date
(
"Y-m-d H:i:s"
,
time
());
//当前时间
$time
=
date
(
"Y-m-d H:i:s"
,
time
());
//当前时间
...
@@ -283,7 +283,7 @@ class Client extends Basic
...
@@ -283,7 +283,7 @@ class Client extends Basic
$total
=
$user
->
all_user_count
(
$conditions
);
$total
=
$user
->
all_user_count
(
$conditions
);
}
else
{
}
else
{
//跟进
//跟进
$UPhoneFollowPp
=
new
UPhoneFollowPp
();
$UPhoneFollowPp
=
new
UPhoneFollowPp
(
$this
->
siteId
);
$user_res
=
$UPhoneFollowPp
->
all_user_search
(
$phone_or_name
,
$pagesize
,
$pagenum
);
$user_res
=
$UPhoneFollowPp
->
all_user_search
(
$phone_or_name
,
$pagesize
,
$pagenum
);
$total
=
$UPhoneFollowPp
->
all_user_search_count
(
$phone_or_name
);
$total
=
$UPhoneFollowPp
->
all_user_search_count
(
$phone_or_name
);
}
}
...
...
application/api_broker/controller/HomePageLog.php
View file @
f23b102c
...
@@ -27,7 +27,7 @@ class HomePageLog extends Basic
...
@@ -27,7 +27,7 @@ class HomePageLog extends Basic
function
__construct
(
Request
$request
=
null
)
function
__construct
(
Request
$request
=
null
)
{
{
parent
::
__construct
(
$request
);
parent
::
__construct
(
$request
);
$this
->
uPhoneFollowUpModel
=
new
UPhoneFollowPp
();
$this
->
uPhoneFollowUpModel
=
new
UPhoneFollowPp
(
$this
->
siteId
);
$this
->
gHouseFollowUpModel
=
new
GHousesFollowUp
();
$this
->
gHouseFollowUpModel
=
new
GHousesFollowUp
();
}
}
...
...
application/api_broker/service/OrderLogService.php
View file @
f23b102c
...
@@ -688,7 +688,7 @@ class OrderLogService
...
@@ -688,7 +688,7 @@ class OrderLogService
$oRefundModel
=
new
ORefundModel
();
$oRefundModel
=
new
ORefundModel
();
$oBargainModel
=
new
OBargainModel
();
$oBargainModel
=
new
OBargainModel
();
$uPhoneFollowModel
=
new
UPhoneFollowPp
();
$uPhoneFollowModel
=
new
UPhoneFollowPp
(
$this
->
siteId
);
//电话跟进
//电话跟进
$userParams
[
"user_id"
]
=
$user_id
;
$userParams
[
"user_id"
]
=
$user_id
;
$userParams
[
"type"
]
=
0
;
//电话跟进
$userParams
[
"type"
]
=
0
;
//电话跟进
...
...
application/index/controller/Remark.php
View file @
f23b102c
...
@@ -215,7 +215,7 @@ class Remark extends Basic
...
@@ -215,7 +215,7 @@ class Remark extends Basic
$pagesize
=
15
;
$pagesize
=
15
;
$user_id
=
$params
[
'user_id'
];
$user_id
=
$params
[
'user_id'
];
$UPhoneFollowPp
=
new
UPhoneFollowPp
();
$UPhoneFollowPp
=
new
UPhoneFollowPp
(
$this
->
siteId
);
// 查询电话跟进数据
// 查询电话跟进数据
$UPhoneFollowPp_res
=
$UPhoneFollowPp
->
select_useraction_search
(
$user_id
,
$searchdate
);
$UPhoneFollowPp_res
=
$UPhoneFollowPp
->
select_useraction_search
(
$user_id
,
$searchdate
);
...
@@ -336,7 +336,7 @@ class Remark extends Basic
...
@@ -336,7 +336,7 @@ class Remark extends Basic
$pagesize
=
15
;
$pagesize
=
15
;
$user_id
=
$params
[
'user_id'
];
$user_id
=
$params
[
'user_id'
];
$UPhoneFollowPp
=
new
UPhoneFollowPp
();
$UPhoneFollowPp
=
new
UPhoneFollowPp
(
$this
->
siteId
);
// 查询电话跟进数据
// 查询电话跟进数据
$UPhoneFollowPp_res
=
$UPhoneFollowPp
->
phone_up_list
(
$pagesize
,
$pagenum
);
$UPhoneFollowPp_res
=
$UPhoneFollowPp
->
phone_up_list
(
$pagesize
,
$pagenum
);
//dump($UPhoneFollowPp_res);
//dump($UPhoneFollowPp_res);
...
@@ -364,7 +364,7 @@ class Remark extends Basic
...
@@ -364,7 +364,7 @@ class Remark extends Basic
}*/
}*/
$UPhoneFollowPp
=
new
UPhoneFollowPp
();
$UPhoneFollowPp
=
new
UPhoneFollowPp
(
$this
->
siteId
);
$total
=
$UPhoneFollowPp
->
phone_up_list_count
();
$total
=
$UPhoneFollowPp
->
phone_up_list_count
();
//dump($total);
//dump($total);
$total
=
intval
(
$total
/
$pagesize
)
+
((
$total
%
$pagesize
==
0
)
?
0
:
1
);
$total
=
intval
(
$total
/
$pagesize
)
+
((
$total
%
$pagesize
==
0
)
?
0
:
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