소스 검색

内容拼接去除txt判断

zqwang 1 년 전
부모
커밋
9888604f8d
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      modules/WechatPlatform/Http/Controllers/WechatSubscribeController.php

+ 3 - 3
modules/WechatPlatform/Http/Controllers/WechatSubscribeController.php

@@ -175,9 +175,9 @@ class WechatSubscribeController extends CatchController
 
     private function handelParam(mixed $param)
     {
-        if (getProp($param, 'type') != 'miniprogram') {
-            return $param;
-        }
+        // if (getProp($param, 'type') != 'miniprogram') {
+        //     return $param;
+        // }
         $info = DB::table('miniprogram')->where('id', $param['miniprogram_id'])->first();
         if (empty($info)) {
             throw  new  FailedException("小程序不正确");