|
|
@@ -40,6 +40,21 @@ class MainController extends BaseController
|
|
|
util::success($respond);
|
|
|
}
|
|
|
|
|
|
+ //会员注册码 ssh 20220607
|
|
|
+ public function actionGetMemberPoster()
|
|
|
+ {
|
|
|
+ $merchant = WxOpenClass::getMallWxInfo();
|
|
|
+ $page = 'pages/login/index';
|
|
|
+ $ptStyle = dict::getDict('ptStyle', 'mall');
|
|
|
+ $scene = 'a=' . $this->shopAdminId . '&s=' . $this->shopId;
|
|
|
+ $imgUrl = miniUtil::generateUnlimitedMiniCode($merchant, $page, $scene, $ptStyle);
|
|
|
+ $url = imgUtil::groupImg($imgUrl);
|
|
|
+ $respond = [
|
|
|
+ 'imgUrl' => $url,
|
|
|
+ ];
|
|
|
+ util::success($respond);
|
|
|
+ }
|
|
|
+
|
|
|
public function actionDemo()
|
|
|
{
|
|
|
return $this->renderPartial('demo');
|