crm首页
This commit is contained in:
@@ -16,6 +16,13 @@ use support\Request;
|
|||||||
class CustomerController extends BaseController
|
class CustomerController extends BaseController
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 不需要头信息的方法
|
||||||
|
*/
|
||||||
|
protected $noNeedHeader = [];
|
||||||
|
|
||||||
|
protected $noNeedLogin = ['getChannel', 'getCountry'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 客户分级
|
* 客户分级
|
||||||
* @param Request $request
|
* @param Request $request
|
||||||
|
|||||||
@@ -101,6 +101,8 @@ Route::group('/crm', function () {
|
|||||||
Route::any('/customer/restore', [app\crm\controller\CustomerController::class, 'restore']);
|
Route::any('/customer/restore', [app\crm\controller\CustomerController::class, 'restore']);
|
||||||
Route::any('/customer/delete', [app\crm\controller\CustomerController::class, 'delete']);
|
Route::any('/customer/delete', [app\crm\controller\CustomerController::class, 'delete']);
|
||||||
Route::any('/customer/waitFollow', [app\crm\controller\CustomerController::class, 'waitFollow']);
|
Route::any('/customer/waitFollow', [app\crm\controller\CustomerController::class, 'waitFollow']);
|
||||||
|
Route::any('/customer/statistics', [app\crm\controller\CustomerController::class, 'statistics']);
|
||||||
Route::any('/customer/getChannel', [app\crm\controller\CustomerController::class, 'getChannel']);
|
Route::any('/customer/getChannel', [app\crm\controller\CustomerController::class, 'getChannel']);
|
||||||
|
Route::any('/customer/getCountry', [app\crm\controller\CustomerController::class, 'getCountry']);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user