Browse Source

更新推广的回传配置,支持巨量2.0

liuzejian 1 year ago
parent
commit
5d6b9cc3f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/Tuiguang/Http/Controllers/PromotionController.php

+ 1 - 1
modules/Tuiguang/Http/Controllers/PromotionController.php

@@ -143,7 +143,7 @@ class PromotionController extends CatchController
     public function updateCallbackConfig(Request $request) {
         $this->validate($request, [
             'id' => 'required',
-            'callback_type' => 'required|in:1',
+            'callback_type' => 'required|in:1,2',
             'callback_config_id' => 'required',
             'remark' => 'nullable|string|max:140',
         ]);