|
@@ -1,8 +1,10 @@
|
|
|
<?php
|
|
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
+
|
|
|
+use Modules\WechatPlatform\Http\Controllers\KFMessageController;
|
|
|
+use Modules\WechatPlatform\Http\Controllers\WechatAuthorizationInfoController;
|
|
|
use Modules\WechatPlatform\Http\Controllers\CommonController;
|
|
|
-use Modules\WechatPlatform\Http\KFMessageController;
|
|
|
use Modules\WechatPlatform\Http\Controllers\WechatKeywordsController;
|
|
|
|
|
|
Route::prefix('wechatPlatform')->group(function(){
|
|
@@ -15,25 +17,31 @@ Route::prefix('wechatPlatform')->group(function(){
|
|
|
Route::post('updateGZH', [KFMessageController::class, 'updateGZH']);
|
|
|
});
|
|
|
|
|
|
-
|
|
|
- Route::prefix('keyword')->group(function () {
|
|
|
-
|
|
|
- Route::any("list",[WechatKeywordsController::class,'list']);
|
|
|
-
|
|
|
- Route::post('add',[WechatKeywordsController::class,'add']);
|
|
|
-
|
|
|
- Route::post('edit/{id}',[WechatKeywordsController::class,'edit']);
|
|
|
-
|
|
|
- Route::any('detail/{id}',[WechatKeywordsController::class,'detail']);
|
|
|
-
|
|
|
- Route::any('del',[WechatKeywordsController::class,'del']);
|
|
|
-
|
|
|
- Route::post('allocation/{id}',[WechatKeywordsController::class,'allocation']);
|
|
|
-
|
|
|
-
|
|
|
- Route::any("auth_list/{id}",[WechatKeywordsController::class,'authList']);
|
|
|
- });
|
|
|
|
|
|
+
|
|
|
+ Route::prefix('officialAccount')->group(function () {
|
|
|
+
|
|
|
+ Route::get("list",[WechatAuthorizationInfoController::class,'index']);
|
|
|
+
|
|
|
+
|
|
|
+ Route::prefix('keyword')->group(function () {
|
|
|
+
|
|
|
+ Route::any("list",[WechatKeywordsController::class,'list']);
|
|
|
+
|
|
|
+ Route::post('add',[WechatKeywordsController::class,'add']);
|
|
|
+
|
|
|
+ Route::post('edit/{id}',[WechatKeywordsController::class,'edit']);
|
|
|
+
|
|
|
+ Route::any('detail/{id}',[WechatKeywordsController::class,'detail']);
|
|
|
+
|
|
|
+ Route::any('del',[WechatKeywordsController::class,'del']);
|
|
|
+
|
|
|
+ Route::post('allocation/{id}',[WechatKeywordsController::class,'allocation']);
|
|
|
+
|
|
|
+
|
|
|
+ Route::any("auth_list/{id}",[WechatKeywordsController::class,'authList']);
|
|
|
+ });
|
|
|
+ });
|
|
|
|
|
|
Route::prefix('common')->group(function (){
|
|
|
|