|
|
|
@@ -134,6 +134,16 @@ public class WxAppinfoController extends BaseController { |
|
|
|
String name = (String) params.get("name"); |
|
|
|
String pageUrl = (String) params.get("pageUrl"); |
|
|
|
String sceneParam = (String) params.get("sceneParam"); |
|
|
|
Integer platCode = (Integer) params.get("plat"); |
|
|
|
|
|
|
|
if(platCode == null){ |
|
|
|
platCode = EnumAppPlat.WX.getCode(); |
|
|
|
} |
|
|
|
EnumAppPlat plat = EnumAppPlat.getByCode(platCode); |
|
|
|
if(plat == null){ |
|
|
|
plat = EnumAppPlat.WX; |
|
|
|
} |
|
|
|
|
|
|
|
int type = 1; |
|
|
|
try { |
|
|
|
type = (int) params.get("type"); |
|
|
|
@@ -156,7 +166,7 @@ public class WxAppinfoController extends BaseController { |
|
|
|
qrCodeService.exportQrcode(request, response, |
|
|
|
getTenantInfo(), type, pageUrl, sceneParam, |
|
|
|
withText, text1, text2, |
|
|
|
name,EnumAppPlat.WX); |
|
|
|
name,plat); |
|
|
|
} catch (Exception e) { |
|
|
|
logger.error(e.getMessage()); |
|
|
|
throw new MallinkException(Result.ERROR, "下载异常"); |
|
|
|
|