diff --git a/app/common/repositories/marketing/AgentRepository.php b/app/common/repositories/marketing/AgentRepository.php index f1dbc52..dc149f2 100644 --- a/app/common/repositories/marketing/AgentRepository.php +++ b/app/common/repositories/marketing/AgentRepository.php @@ -110,6 +110,12 @@ class AgentRepository extends BaseRepository{ $path = 'pages/store/settled/index'; return app()->make(QrcodeService::class)->createQrCode($valueData,$path); break; + case 'supermarket': + // 参数长度超过 简写:aid=agent_id;mt=merchant_type + $valueData = 'aid=' . $params['agent_id'].'&mt=4'; + $path = 'pages/store/settled/index'; + return app()->make(QrcodeService::class)->createQrCode($valueData,$path); + break; } throw new ValidateException('小程序码生成失败!');