Explorar el Código

//update code

release_toaliyun_real
xhxu hace 4 años
padre
commit
5bda0f7131
Se han modificado 1 ficheros con 11 adiciones y 1 borrados
  1. +11
    -1
      mallinkAdmin/src/main/java/com/iformall/controller/app/WxAppinfoController.java

+ 11
- 1
mallinkAdmin/src/main/java/com/iformall/controller/app/WxAppinfoController.java Ver fichero

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


Cargando…
Cancelar
Guardar