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
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
Broker.php
application/api_broker/controller/Broker.php
+4
-1
route.php
application/route.php
+6
-7
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
...
@@ -227,13 +227,12 @@ Route::group('broker', [
...
@@ -227,13 +227,12 @@ Route::group('broker', [
'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