|
|
|
@@ -328,11 +328,20 @@ public class WxWeappInfoController extends BaseController { |
|
|
|
Long templateId = null; |
|
|
|
try { |
|
|
|
templateId = Long.parseLong(templateIdStr); |
|
|
|
type = Integer.parseInt(typeStr); |
|
|
|
} catch (Exception e) { |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR); |
|
|
|
} |
|
|
|
|
|
|
|
try { |
|
|
|
type = Integer.parseInt(typeStr); |
|
|
|
} catch (Exception e) { |
|
|
|
logger.error("type为null"); |
|
|
|
} |
|
|
|
if(StringUtils.isBlank(appsStr)) { |
|
|
|
if(type == null) { |
|
|
|
logger.error("type为null"); |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR); |
|
|
|
} |
|
|
|
WxWeappInfo authQ = new WxWeappInfo(); |
|
|
|
authQ.setType(type); |
|
|
|
List<WxWeappInfo> appList = authorizerInfoService.getList(authQ); |
|
|
|
|