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

Commit c97cb5a0 authored by wangyifan's avatar wangyifan

doudou二期需求-卡片详情接口

parent f017b876
......@@ -33,4 +33,6 @@ public interface ISweetDoudouService extends IService<SweetDoudou> {
boolean winningUpload(MultipartFile file);
ResponseDto<List<SweetDouDouActiveVo>> getActiveList();
ResponseDto<SweetDouDouActiveVo> getActiveDetail(String activeId);
}
......@@ -37,6 +37,12 @@ public class SweetDoudouController {
return iSweetDoudouService.getActiveList();
}
@GetMapping("/active/detail")
@ApiOperation("获取活动详情")
public ResponseDto<SweetDouDouActiveVo> getActiveDetail(@RequestParam(value = "activeId") String activeId){
return iSweetDoudouService.getActiveDetail(activeId);
}
@GetMapping("")
@ApiOperation("获取用户预约详情")
public ResponseDto<SweetDouDouVo> info(@RequestParam(value = "activeId") String activeId) {
......
......@@ -185,9 +185,16 @@ public class SweetDoudouServiceImpl extends ServiceImpl<SweetDoudouMapper, Sweet
return ResponseDto.success();
}
//TODO 1.
return ResponseDto.success();
}
@Override
public ResponseDto<SweetDouDouActiveVo> getActiveDetail(String activeId) {
return null;
}
private List<SweetDouDouVo> getSweetDouDouVoListByFile(MultipartFile file) {
// 1. 验证文件类型
if (!isExcelFile(file)) {
......
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