Browse Source

fix:合在一起

super-yimizi 19 hours ago
parent
commit
aaeb1d45e4
1 changed files with 4 additions and 4 deletions
  1. 4 4
      application/api/controller/commission/Agent.php

+ 4 - 4
application/api/controller/commission/Agent.php

@@ -299,7 +299,7 @@ class Agent extends Commission
         $platformId = ShareEnum::getPlatformId($shareEnumPlatform);
         $fromPlatformId = $platformId; // 来源平台同当前平台
         
-        try {
+        // try {
             // 初始化微信服务 - 固定使用微信小程序平台生成小程序码
             $wechatPlatform = ChannelEnum::CHANNEL_WECHAT_MINI_PROGRAM;
             $payload = [];
@@ -351,9 +351,9 @@ class Agent extends Commission
                 $this->error('小程序码生成失败:' . $msg);
             }
             
-        } catch (\Exception $e) {
-            $this->error('小程序码生成失败:' . $e->getMessage());
-        }
+        // } catch (\Exception $e) {
+        //     $this->error('小程序码生成失败:' . $e->getMessage());
+        // }
     }
 
     /**