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
5c0b7e5b
Commit
5c0b7e5b
authored
Feb 26, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
格式化代码
parent
3b9c3e71
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
21 deletions
+23
-21
Broker.php
application/api_broker/controller/Broker.php
+4
-1
route.php
application/route.php
+19
-20
No files found.
application/api_broker/controller/Broker.php
View file @
5c0b7e5b
...
@@ -116,7 +116,10 @@ class Broker extends Basic
...
@@ -116,7 +116,10 @@ class Broker extends Basic
$params
=
$this
->
params
;
$params
=
$this
->
params
;
/*$params['content']='跟进内容';//跟进内容
/*$params['content']='跟进内容';//跟进内容
$params['labels_id']=1;//g_labels表主键
$params['labels_id']=1;//g_labels表主键
$params['user_id']=1;//u_users ID用户表id*/
$params['user_id']=1;//u_users ID用户表id
$params['agent_id']=1;//agent表id-当前登录用户id
$params['type']=1;//B端agent表
*/
if
(
!
isset
(
$params
[
'content'
])
||
!
isset
(
$params
[
'labels_id'
])
||
!
isset
(
$params
[
'user_id'
]))
{
if
(
!
isset
(
$params
[
'content'
])
||
!
isset
(
$params
[
'labels_id'
])
||
!
isset
(
$params
[
'user_id'
]))
{
return
$this
->
response
(
"300"
,
"参数不全"
,
[
'remote_groupid'
=>
''
]);
return
$this
->
response
(
"300"
,
"参数不全"
,
[
'remote_groupid'
=>
''
]);
}
}
...
...
application/route.php
View file @
5c0b7e5b
...
@@ -217,26 +217,25 @@ Route::group('task',[
...
@@ -217,26 +217,25 @@ Route::group('task',[
]);
]);
Route
::
group
(
'broker'
,
[
Route
::
group
(
'broker'
,
[
'report'
=>
[
'api_broker/Report/report'
,
[
'method'
=>
'get|post'
]
],
//报备
'report'
=>
[
'api_broker/Report/report'
,
[
'method'
=>
'get|post'
]
],
//报备
'addFollowUp'
=>
[
'api_broker/Report/addFollowUp'
,
[
'method'
=>
'get|post'
]
],
//新增跟进
'addFollowUp'
=>
[
'api_broker/Report/addFollowUp'
,
[
'method'
=>
'get|post'
]
],
//新增跟进
'getFollowUpList'
=>
[
'api_broker/Report/getFollowUpList'
,
[
'method'
=>
'get|post'
]
],
'getFollowUpList'
=>
[
'api_broker/Report/getFollowUpList'
,
[
'method'
=>
'get|post'
]
],
'marchIn'
=>
[
'api_broker/OrderLog/marchIn'
,
[
'method'
=>
'get|post'
]
],
'marchIn'
=>
[
'api_broker/OrderLog/marchIn'
,
[
'method'
=>
'get|post'
]
],
'collectingBill'
=>
[
'api_broker/OrderLog/collectingBill'
,
[
'method'
=>
'get|post'
]
],
'collectingBill'
=>
[
'api_broker/OrderLog/collectingBill'
,
[
'method'
=>
'get|post'
]
],
'refund'
=>
[
'api_broker/OrderLog/refund'
,
[
'method'
=>
'get|post'
]
],
'refund'
=>
[
'api_broker/OrderLog/refund'
,
[
'method'
=>
'get|post'
]
],
'bargain'
=>
[
'api_broker/OrderLog/bargain'
,
[
'method'
=>
'get|post'
]
],
'bargain'
=>
[
'api_broker/OrderLog/bargain'
,
[
'method'
=>
'get|post'
]
],
'statusBargain'
=>
[
'api_broker/OrderLog/statusBargain'
,
[
'method'
=>
'get|post'
]
],
'statusBargain'
=>
[
'api_broker/OrderLog/statusBargain'
,
[
'method'
=>
'get|post'
]
],
'login'
=>
[
'api_broker/Broker/login'
,
[
'method'
=>
'post'
]
],
//经纪人登陆
'login'
=>
[
'api_broker/Broker/login'
,
[
'method'
=>
'post'
]
],
//经纪人登陆
'editClient'
=>
[
'api_broker/Client/editClient'
,
[
'method'
=>
'get|post'
]
],
//添加和编辑客户
'editClient'
=>
[
'api_broker/Client/editClient'
,
[
'method'
=>
'get|post'
]
],
//添加和编辑客户
'getBroker'
=>
[
'api_broker/broker/getBroker'
,[
'method'
=>
'get'
]],
//获取经纪人列表
'getBroker'
=>
[
'api_broker/broker/getBroker'
,[
'method'
=>
'get'
]],
//获取经纪人列表
'labelEdit'
=>
[
'api_broker/label/index'
,[
'method'
=>
'get|post'
]],
//编辑标签
'labelEdit'
=>
[
'api_broker/label/index'
,[
'method'
=>
'get|post'
]],
//编辑标签
'getLabelsList'
=>
[
'api_broker/label/getLabelsList'
,[
'method'
=>
'get'
]],
//标签列表
'getLabelsList'
=>
[
'api_broker/label/getLabelsList'
,[
'method'
=>
'get'
]],
//标签列表
'add_phone_follow_up'
=>
[
'api_broker/broker/add_phone_follow_up'
,[
'method'
=>
'get|post'
]],
//新增-客户电话跟进
'add_phone_follow_up'
=>
[
'api_broker/broker/add_phone_follow_up'
,[
'method'
=>
'get|post'
]],
//新增-客户电话跟进
'useraction_search'
=>
[
'api_broker/broker/useraction_search'
,[
'method'
=>
'get|post'
]],
//新增-客户电话跟进
'useraction_search'
=>
[
'api_broker/broker/useraction_search'
,[
'method'
=>
'get|post'
]],
//新增-客户电话跟进
'user_search'
=>
[
'api_broker/broker/user_search'
,[
'method'
=>
'get|post'
]],
//客户搜索
'user_search'
=>
[
'api_broker/broker/user_search'
,[
'method'
=>
'get|post'
]],
//客户搜索
'bindAXB'
=>
[
'api_broker/CellPhone/bindAXB'
,
[
'method'
=>
'post'
]
],
//隐私号码
'bindAXB'
=>
[
'api_broker/CellPhone/bindAXB'
,
[
'method'
=>
'post'
]
],
//隐私号码
'agentsUnBind'
=>
[
'api_broker/CellPhone/agentsUnBind'
,
[
'method'
=>
'post'
]
],
//解除绑定关系
'agentsUnBind'
=>
[
'api_broker/CellPhone/agentsUnBind'
,
[
'method'
=>
'post'
]
],
//解除绑定关系
'callLog'
=>
[
'api_broker/CellPhone/callLog'
,
[
'method'
=>
'get'
]
],
//通话记录
'callLog'
=>
[
'api_broker/CellPhone/callLog'
,
[
'method'
=>
'get'
]
],
//通话记录
]);
]);
...
...
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