添加:超市入驻小程序邀请码生成

This commit is contained in:
wuhui_zzw 2024-04-11 18:16:43 +08:00
parent 8a6564d3f8
commit ab209b2119
1 changed files with 6 additions and 0 deletions

View File

@ -110,6 +110,12 @@ class AgentRepository extends BaseRepository{
$path = 'pages/store/settled/index'; $path = 'pages/store/settled/index';
return app()->make(QrcodeService::class)->createQrCode($valueData,$path); return app()->make(QrcodeService::class)->createQrCode($valueData,$path);
break; break;
case 'supermarket':
// 参数长度超过 简写aid=agent_idmt=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('小程序码生成失败!'); throw new ValidateException('小程序码生成失败!');