添加:超市入驻小程序邀请码生成
This commit is contained in:
parent
8a6564d3f8
commit
ab209b2119
|
|
@ -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_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('小程序码生成失败!');
|
throw new ValidateException('小程序码生成失败!');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue