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