|
|
|
@@ -421,9 +421,12 @@ public class WxWeappInfoController extends BaseController { |
|
|
|
try { |
|
|
|
type = Integer.parseInt(typeStr); |
|
|
|
} catch (Exception e) { |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR); |
|
|
|
logger.error("小程序类型"); |
|
|
|
} |
|
|
|
if(StringUtils.isBlank(appsStr)) { |
|
|
|
if(type == null) { |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL); |
|
|
|
} |
|
|
|
WxWeappInfo authQ = new WxWeappInfo(); |
|
|
|
authQ.setType(type); |
|
|
|
List<WxWeappInfo> appList = authorizerInfoService.getList(authQ); |
|
|
|
@@ -715,7 +718,7 @@ public class WxWeappInfoController extends BaseController { |
|
|
|
return new ResultData(); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation(value = "批量发布", notes = "{\"version\":\"string\"}") |
|
|
|
@ApiOperation(value = "批量发布", notes = "{\"type\":\"string\", \"version\":\"string\"}") |
|
|
|
@PostMapping("batchRelease") |
|
|
|
public ResultData batchRelease(@RequestBody Map<String, String> params) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxWeappInfoController::batchRelease"); |
|
|
|
|