Commit 8b2a6145 authored by yinxiaoling's avatar yinxiaoling

主叫号码列表接口-固定

parent c9ed0e82
...@@ -21,6 +21,10 @@ trait Tool ...@@ -21,6 +21,10 @@ trait Tool
return $projectInfo; return $projectInfo;
} }
} }
public function getAllowCallNumber(){
return [90002,80006];
}
public function success() public function success()
{ {
......
...@@ -109,6 +109,11 @@ class StrategySetController extends Controller ...@@ -109,6 +109,11 @@ class StrategySetController extends Controller
$projectInfo = $this->getAllowProjects(0); $projectInfo = $this->getAllowProjects(0);
return $this->successWithInfo(['data'=>$projectInfo]); return $this->successWithInfo(['data'=>$projectInfo]);
} }
//主叫号码列表
public function getCallNumberList(){
$callNumbnerInfo = $this->getAllowCallNumber();
return $this->successWithInfo(['data'=>$callNumbnerInfo]);
}
//下载模板及下载导入失败excel数据 //下载模板及下载导入失败excel数据
public function downloadModel(Request $request,StrategyService $StrategyService){ public function downloadModel(Request $request,StrategyService $StrategyService){
......
...@@ -24,6 +24,8 @@ Route::group(['middleware' => 'check.apikey','namespace'=>'strategy'], function ...@@ -24,6 +24,8 @@ Route::group(['middleware' => 'check.apikey','namespace'=>'strategy'], function
Route::post('strategy/getProjectsList', 'StrategySetController@getProjectsList')->name('strategy.getProjectsList');//项目列表 Route::post('strategy/getProjectsList', 'StrategySetController@getProjectsList')->name('strategy.getProjectsList');//项目列表
Route::post('strategy/getCallNumberList', 'StrategySetController@getCallNumberList')->name('strategy.getCallNumberList');//主叫号码列表
Route::get('strategy/downloadModel', 'StrategySetController@downloadModel')->name('strategy.downloadModel');//导出模板 Route::get('strategy/downloadModel', 'StrategySetController@downloadModel')->name('strategy.downloadModel');//导出模板
Route::get('strategy/downloadFailExcel', 'StrategySetController@downloadFailExcel')->name('strategy.downloadFailExcel');//下载失败导入excel数据 Route::get('strategy/downloadFailExcel', 'StrategySetController@downloadFailExcel')->name('strategy.downloadFailExcel');//下载失败导入excel数据
......
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