记得上下班打卡 | git大法好,push需谨慎

Commit 6cfca046 authored by 胡佳晨's avatar 胡佳晨

定时上下线接口 修改

parent 68c9701c
...@@ -106,7 +106,7 @@ public class KylinPerformancePartnerController { ...@@ -106,7 +106,7 @@ public class KylinPerformancePartnerController {
@ApiImplicitParam(type = "query", dataType = "Integer", name = "type", value = "类型[1-立即上线|2-定时上线]") @ApiImplicitParam(type = "query", dataType = "Integer", name = "type", value = "类型[1-立即上线|2-定时上线]")
}) })
public ResponseDto<String> onLinePerformance(@RequestParam("performancesId") @NotNull(message = "演出ID不能为空") String performancesId, public ResponseDto<String> onLinePerformance(@RequestParam("performancesId") @NotNull(message = "演出ID不能为空") String performancesId,
@RequestParam("time") @NotNull(message = "定时上线时间") String time, @RequestParam(name = "time",required = false) String time,
@RequestParam("type") Integer type) { @RequestParam("type") Integer type) {
if (type == 1) { if (type == 1) {
return performancesPartnerService.onLinePerformance(performancesId); return performancesPartnerService.onLinePerformance(performancesId);
...@@ -124,7 +124,7 @@ public class KylinPerformancePartnerController { ...@@ -124,7 +124,7 @@ public class KylinPerformancePartnerController {
@ApiImplicitParam(type = "query", dataType = "Integer", name = "type", value = "类型[1-立即上线|2-定时上线]") @ApiImplicitParam(type = "query", dataType = "Integer", name = "type", value = "类型[1-立即上线|2-定时上线]")
}) })
public ResponseDto<String> outLinePerformance(@RequestParam("performancesId") @NotNull(message = "演出ID不能为空") String performancesId, public ResponseDto<String> outLinePerformance(@RequestParam("performancesId") @NotNull(message = "演出ID不能为空") String performancesId,
@RequestParam("time") @NotNull(message = "定时上线时间") String time, @RequestParam(name = "time",required = false) String time,
@RequestParam("type") Integer type) { @RequestParam("type") Integer type) {
if (type == 1) { if (type == 1) {
return performancesPartnerService.outLinePerformance(performancesId); return performancesPartnerService.outLinePerformance(performancesId);
......
...@@ -387,4 +387,8 @@ public class DataImpl { ...@@ -387,4 +387,8 @@ public class DataImpl {
e.printStackTrace(); e.printStackTrace();
} }
} }
public void Account(){
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment