Commit 7d130a5e authored by zhuwei's avatar zhuwei

bug

parent addac37c
<?php <?php
namespace app\api_broker\controller; namespace app\api\controller;
/** /**
* Created by PhpStorm. * Created by PhpStorm.
* User: zhuwei * User: zhuwei
...@@ -8,7 +8,7 @@ namespace app\api_broker\controller; ...@@ -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 app\model\AUserCallAgent;
use think\Request; use think\Request;
...@@ -23,19 +23,11 @@ class CallAgent extends Basic ...@@ -23,19 +23,11 @@ class CallAgent extends Basic
$this->aUserCallAgent = new AUserCallAgent(); $this->aUserCallAgent = new AUserCallAgent();
} }
/**
* 客户来电记录-废弃-原生记录错误-换接口
* @return \think\Response
*/
public function addUserCallAgent(){
return $this->response("200", "成功");
}
/** /**
* 客户来电记录 * 客户来电记录
* @return \think\Response * @return \think\Response
*/ */
public function addUserCallAgentV2(){ public function addUserCallAgent(){
$params = $this->params; $params = $this->params;
/*$params = array( /*$params = array(
...@@ -62,4 +54,12 @@ class CallAgent extends Basic ...@@ -62,4 +54,12 @@ class CallAgent extends Basic
} }
/**
* 客户来电记录
* @return \think\Response
*/
public function addUserCallAgentV2(){
}
} }
\ No newline at end of file
...@@ -57,7 +57,7 @@ class Basic extends Controller ...@@ -57,7 +57,7 @@ class Basic extends Controller
'broker/getComment', 'broker/getComment',
'broker/getBusinessAll', 'broker/getBusinessAll',
"broker/getSiteListApp", "broker/getSiteListApp",
"broker/addUserCallAgentV2",
); );
/** /**
......
...@@ -425,6 +425,7 @@ Route::group('api', [ ...@@ -425,6 +425,7 @@ Route::group('api', [
'setUserSite' => [ 'api/Site/setUserSite', [ 'method' => 'POST|GET' ] ],//设置站点 'setUserSite' => [ 'api/Site/setUserSite', [ 'method' => 'POST|GET' ] ],//设置站点
'getSiteListApp' => [ 'api/Site/getSiteList', [ 'method' => 'POST|GET' ] ], //获取站点列表 朱伟 2018-10-18 'getSiteListApp' => [ 'api/Site/getSiteList', [ 'method' => 'POST|GET' ] ], //获取站点列表 朱伟 2018-10-18
'addUserCallAgent' => [ 'api/CallAgent/addUserCallAgent', [ 'method' => 'POST|GET' ] ],//客户来电记录
]); ]);
...@@ -652,7 +653,6 @@ Route::group('broker', [ ...@@ -652,7 +653,6 @@ Route::group('broker', [
'bargainMain' => [ 'api_broker/Bargain/bargainList', [ 'method' => 'POST|GET' ] ], 'bargainMain' => [ 'api_broker/Bargain/bargainList', [ 'method' => 'POST|GET' ] ],
'addUserCallAgent' => [ 'api_broker/CallAgent/addUserCallAgent', [ 'method' => 'POST|GET' ] ],//客户来电记录 'addUserCallAgent' => [ 'api_broker/CallAgent/addUserCallAgent', [ 'method' => 'POST|GET' ] ],//客户来电记录
'addUserCallAgentV2' => [ 'api_broker/CallAgent/addUserCallAgentV2', [ 'method' => 'POST|GET' ] ],//客户来电记录
//站点相关 //站点相关
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment