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

Commit a5ca24b3 authored by sunyuntian's avatar sunyuntian

ar列表接口

parent f3b09606
......@@ -16,5 +16,7 @@ public interface ISweetPerformanceService extends IService<SweetPerformanceShow>
ResponseDto<Boolean> del(String performanceId);
ResponseDto<PageInfo<SweetPerformanceShow>> getList(Integer page, Integer size, String pid);
ResponseDto<PageInfo<SweetPerformanceShow>> getlistInTime(Integer page, Integer size);
}
......@@ -35,6 +35,17 @@ public class SweetPerformanceController {
return sweetPerformanceService.getList(page, size, pid);
}
@GetMapping("listInTime")
@ApiOperation("ar列表-有效时间")
@ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "Integer", name = "page", value = "页数", required = true),
@ApiImplicitParam(type = "query", dataType = "Integer", name = "size", value = "数量", required = true),
})
public ResponseDto<PageInfo<SweetPerformanceShow>> getlistInTime(@RequestParam() Integer page,
@RequestParam() Integer size) {
return sweetPerformanceService.getlistInTime(page, size);
}
@PostMapping("add")
@ApiOperation("添加")
......@@ -80,4 +91,5 @@ public class SweetPerformanceController {
return sweetPerformanceService.del(performanceId);
}
}
......@@ -10,7 +10,6 @@ import com.liquidnet.commons.lang.util.HttpUtil;
import com.liquidnet.commons.lang.util.IDGenerator;
import com.liquidnet.commons.lang.util.JsonUtils;
import com.liquidnet.service.base.ResponseDto;
import com.liquidnet.service.feign.goblin.api.FeignGoblinArClient;
import com.liquidnet.service.sweet.entity.SweetArtists;
import com.liquidnet.service.sweet.entity.SweetPerformanceShow;
import com.liquidnet.service.sweet.mapper.SweetPerformanceMapper;
......@@ -134,5 +133,11 @@ public class SweetPerformanceServiceImpl extends ServiceImpl<SweetPerformanceMap
}
}
@Override
public ResponseDto<PageInfo<SweetPerformanceShow>> getlistInTime(Integer page, Integer size) {
return null;
}
}
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