|
@@ -58,6 +58,11 @@ Route::prefix('channel')->group(function () {
|
|
|
Route::get('auth/{component_appid}/{user_id}', [WechatOpenPlatformController::class, 'auth'])->withoutMiddleware(config('catch.route.middlewares'));
|
|
|
Route::get('preauth', [WechatOpenPlatformController::class, 'preauth'])->middleware(['roleCheck:company']);
|
|
|
});
|
|
|
+
|
|
|
+
|
|
|
+ Route::prefix('companyUser')->group(function(){
|
|
|
+ Route::get('list', [CompanyUserController::class, 'list']);
|
|
|
+ });
|
|
|
});
|
|
|
|
|
|
/**
|
|
@@ -72,8 +77,5 @@ Route::prefix('wechat')->group(function(){
|
|
|
Route::post('infoCommand/{authorizer_appid}/{component_appid}', [WechatOpenPlatformController::class, 'infoCommand'])->withoutMiddleware(config('catch.route.middlewares'));
|
|
|
});
|
|
|
|
|
|
- Route::prefix('companyUser')->group(function(){
|
|
|
- Route::get('list', [CompanyUserController::class, 'list']);
|
|
|
- });
|
|
|
});
|
|
|
|