Commit 7d130a5e authored by zhuwei's avatar zhuwei

bug

parent addac37c
<?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 addUserCallAgentV2(){
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
......@@ -57,7 +57,7 @@ class Basic extends Controller
'broker/getComment',
'broker/getBusinessAll',
"broker/getSiteListApp",
"broker/addUserCallAgentV2",
);
/**
......
......@@ -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' ] ],//客户来电记录
//站点相关
......
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