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
7d130a5e
Commit
7d130a5e
authored
Oct 25, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
addac37c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
13 deletions
+14
-13
CallAgent.php
application/api/controller/CallAgent.php
+12
-11
Basic.php
application/api_broker/extend/Basic.php
+1
-1
route.php
application/route.php
+1
-1
No files found.
application/api
_broker
/controller/CallAgent.php
→
application/api/controller/CallAgent.php
View file @
7d130a5e
<?php
namespace
app\api
_broker
\controller
;
namespace
app\api\controller
;
/**
* Created by PhpStorm.
* User: zhuwei
...
...
@@ -8,7 +8,7 @@ namespace app\api_broker\controller;
*/
use
app\api
_broker
\extend\Basic
;
use
app\api\extend\Basic
;
use
app\model\AUserCallAgent
;
use
think\Request
;
...
...
@@ -23,19 +23,11 @@ class CallAgent extends Basic
$this
->
aUserCallAgent
=
new
AUserCallAgent
();
}
/**
* 客户来电记录-废弃-原生记录错误-换接口
* @return \think\Response
*/
public
function
addUserCallAgent
(){
return
$this
->
response
(
"200"
,
"成功"
);
}
/**
* 客户来电记录
* @return \think\Response
*/
public
function
addUserCallAgent
V2
(){
public
function
addUserCallAgent
(){
$params
=
$this
->
params
;
/*$params = array(
...
...
@@ -62,4 +54,12 @@ class CallAgent extends Basic
}
/**
* 客户来电记录
* @return \think\Response
*/
public
function
addUserCallAgentV2
(){
}
}
\ No newline at end of file
application/api_broker/extend/Basic.php
View file @
7d130a5e
...
...
@@ -57,7 +57,7 @@ class Basic extends Controller
'broker/getComment'
,
'broker/getBusinessAll'
,
"broker/getSiteListApp"
,
"broker/addUserCallAgentV2"
,
);
/**
...
...
application/route.php
View file @
7d130a5e
...
...
@@ -425,6 +425,7 @@ Route::group('api', [
'setUserSite'
=>
[
'api/Site/setUserSite'
,
[
'method'
=>
'POST|GET'
]
],
//设置站点
'getSiteListApp'
=>
[
'api/Site/getSiteList'
,
[
'method'
=>
'POST|GET'
]
],
//获取站点列表 朱伟 2018-10-18
'addUserCallAgent'
=>
[
'api/CallAgent/addUserCallAgent'
,
[
'method'
=>
'POST|GET'
]
],
//客户来电记录
]);
...
...
@@ -652,7 +653,6 @@ Route::group('broker', [
'bargainMain'
=>
[
'api_broker/Bargain/bargainList'
,
[
'method'
=>
'POST|GET'
]
],
'addUserCallAgent'
=>
[
'api_broker/CallAgent/addUserCallAgent'
,
[
'method'
=>
'POST|GET'
]
],
//客户来电记录
'addUserCallAgentV2'
=>
[
'api_broker/CallAgent/addUserCallAgentV2'
,
[
'method'
=>
'POST|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