crm首页

This commit is contained in:
2025-07-17 15:10:24 +08:00
parent 17395e6143
commit cb06f7a0e9
2 changed files with 9 additions and 0 deletions
@@ -16,6 +16,13 @@ use support\Request;
class CustomerController extends BaseController
{
/**
* 不需要头信息的方法
*/
protected $noNeedHeader = [];
protected $noNeedLogin = ['getChannel', 'getCountry'];
/**
* 客户分级
* @param Request $request
+2
View File
@@ -101,6 +101,8 @@ Route::group('/crm', function () {
Route::any('/customer/restore', [app\crm\controller\CustomerController::class, 'restore']);
Route::any('/customer/delete', [app\crm\controller\CustomerController::class, 'delete']);
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/getCountry', [app\crm\controller\CustomerController::class, 'getCountry']);
});