Commit 9a9434fd authored by hujun's avatar hujun

客户跟进列表接口修改

parent 61d6281c
...@@ -20,15 +20,6 @@ use think\Session; ...@@ -20,15 +20,6 @@ use think\Session;
class Remark extends Basic class Remark extends Basic
{ {
/**
* 跟进主界面
*
* @return \think\response\View
*/
public function remarkFollowIndex(){
return view('remark_follow_index');
}
/** /**
* 跟进列表 * 跟进列表
* *
...@@ -38,6 +29,10 @@ class Remark extends Basic ...@@ -38,6 +29,10 @@ class Remark extends Basic
* @throws \think\exception\DbException * @throws \think\exception\DbException
*/ */
public function followUpList(){ public function followUpList(){
if (!$this->request->isAjax()) {
return view('remark_follow_index');
}
$data['status'] = 200; $data['status'] = 200;
$data['msg'] = ''; $data['msg'] = '';
......
...@@ -168,8 +168,7 @@ Route::group('index', [ ...@@ -168,8 +168,7 @@ Route::group('index', [
'lable' => ['index/label/index',['method'=>'get']], //标签列表 'lable' => ['index/label/index',['method'=>'get']], //标签列表
//数据统计 //数据统计
'RemarkFollowIndex'=>['index/remark/remarkFollowIndex',['method'=>'get']],//跟进列表主界面 'RemarkFollowList'=>['index/remark/followUpList',['method'=>'get']],//跟进列表
'RemarkFollowList'=>['index/remark/followUpList',['method'=>'get']],//跟进列表【接口】
'phone_list'=>['index/Phone/index',['method'=>'get']],//隐私号码列表 'phone_list'=>['index/Phone/index',['method'=>'get']],//隐私号码列表
'bindPhoneList'=>['index/Phone/bindPhoneList',['method'=>'get']],//绑定的隐私号码列表 'bindPhoneList'=>['index/Phone/bindPhoneList',['method'=>'get']],//绑定的隐私号码列表
'edit_aliYunPhone'=>['index/Phone/edit_aliYunPhone',['method'=>'get|post']],//新增或编辑中间号 'edit_aliYunPhone'=>['index/Phone/edit_aliYunPhone',['method'=>'get|post']],//新增或编辑中间号
......
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