|
|
|
@@ -770,25 +770,31 @@ public class WxWeappInfoController extends BaseController { |
|
|
|
|
|
|
|
@ApiOperation("小程序code提交版本列表") |
|
|
|
@GetMapping("codeVersionList") |
|
|
|
public ResultData getCodeVersionList() { |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "type", value = "小程序类型", dataType = "int", paramType = "query", required = true)}) |
|
|
|
public ResultData getCodeVersionList(Integer type) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxWeappInfoController::getCodeVersionList"); |
|
|
|
final List<Map> list = weappCodeStatusService.getVersionList(); |
|
|
|
final List<Map> list = weappCodeStatusService.getVersionList(type); |
|
|
|
return new ResultData(list); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("小程序审核版本列表") |
|
|
|
@GetMapping("auditVersionList") |
|
|
|
public ResultData getAuditVersionList() { |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "type", value = "小程序类型", dataType = "int", paramType = "query", required = true)}) |
|
|
|
public ResultData getAuditVersionList(Integer type) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxWeappInfoController::getAuditVersionList"); |
|
|
|
final List<Map> list = weappAuditStatusService.getVersionList(); |
|
|
|
final List<Map> list = weappAuditStatusService.getVersionList(type); |
|
|
|
return new ResultData(list); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("小程序发布版本列表") |
|
|
|
@GetMapping("releaseVersionList") |
|
|
|
public ResultData getReleaseVersionList() { |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "type", value = "小程序类型", dataType = "int", paramType = "query", required = true)}) |
|
|
|
public ResultData getReleaseVersionList(Integer type) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxWeappInfoController::getReleaseVersionList"); |
|
|
|
final List<Map> list = weappReleaseStatusService.getVersionList(); |
|
|
|
final List<Map> list = weappReleaseStatusService.getVersionList(type); |
|
|
|
return new ResultData(list); |
|
|
|
} |
|
|
|
|
|
|
|
|