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
58f92892
Commit
58f92892
authored
Apr 10, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户动态搜索
parent
880737df
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
Broker.php
application/api_broker/controller/Broker.php
+18
-0
route.php
application/route.php
+1
-0
No files found.
application/api_broker/controller/Broker.php
View file @
58f92892
...
...
@@ -285,6 +285,24 @@ class Broker extends Basic
return
$this
->
response
(
"200"
,
"success!"
,
$data
);
}
/**
* 搜索动态
* @return \think\Response
*/
public
function
userStateSearch
(){
$params
=
$this
->
params
;
/* $params = array(
"user_id" => 1,
"keyword" => "asdfas"
);*/
if
(
!
isset
(
$params
[
"user_id"
])
||
!
isset
(
$params
[
"keyword"
])){
return
$this
->
response
(
"101"
,
"请输入需要检索的关键词"
);
}
$orderLog
=
new
OrderLogService
();
$data
=
$orderLog
->
selectListByUserId
(
$params
[
"user_id"
],
$params
[
"keyword"
]);
return
$this
->
response
(
"200"
,
"request success"
,
$data
);
}
/**
* 编辑密码
*/
...
...
application/route.php
View file @
58f92892
...
...
@@ -335,6 +335,7 @@ Route::group('broker', [
'getLabelsList'
=>
[
'api_broker/label/getLabelsList'
,[
'method'
=>
'get'
]],
//标签列表
'add_phone_follow_up'
=>
[
'api_broker/broker/add_phone_follow_up'
,[
'method'
=>
'get|post'
]],
//新增-客户电话跟进
'useraction_search'
=>
[
'api_broker/broker/useraction_search'
,[
'method'
=>
'get|post'
]],
//新增-客户电话跟进
'userStateSearch'
=>
[
'api_broker/broker/userStateSearch'
,[
'method'
=>
'get|post'
]],
//新增-客户电话跟进
'user_search'
=>
[
'api_broker/broker/user_search'
,[
'method'
=>
'get|post'
]],
//客户搜索
'bindAXB'
=>
[
'api_broker/CellPhone/bindAXB'
,
[
'method'
=>
'post'
]
],
//隐私号码
'agentsUnBind'
=>
[
'api_broker/CellPhone/agentsUnBind'
,
[
'method'
=>
'post'
]
],
//解除绑定关系
...
...
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