|
@@ -56,6 +56,17 @@ Route::prefix('channel')->group(function () {
|
|
|
Route::prefix('openPlatform')->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('wechat')->group(function(){
|
|
|
+ /**
|
|
|
+ * 三方平台
|
|
|
+ */
|
|
|
+ Route::prefix('openPlatform')->group(function(){
|
|
|
Route::post('authorCommand/{component_appid}', [WechatOpenPlatformController::class, 'authorCommand'])->withoutMiddleware(config('catch.route.middlewares'));
|
|
|
Route::post('infoCommand/{authorizer_appid}/{component_appid}', [WechatOpenPlatformController::class, 'infoCommand'])->withoutMiddleware(config('catch.route.middlewares'));
|
|
|
});
|