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

Commit ae9dbcf3 authored by 姜秀龙's avatar 姜秀龙

doudou 接口

parent ed816ff2
......@@ -21,7 +21,7 @@ public interface ISweetDoudouService extends IService<SweetDoudou> {
ResponseDto<SweetDouDouVo> info();
ResponseDto create(@Valid SweetDouDouParam param);
ResponseDto<SweetDouDouVo> create(@Valid SweetDouDouParam param);
ResponseDto check(SweetDouDouCheckParam param);
......
......@@ -36,7 +36,7 @@ public class SweetDoudouController {
@PostMapping("")
@ApiOperation("预约")
public ResponseDto create(@Valid @RequestBody SweetDouDouParam param) {
public ResponseDto<SweetDouDouVo> create(@Valid @RequestBody SweetDouDouParam param) {
return iSweetDoudouService.create(param);
}
......
......@@ -48,7 +48,7 @@ public class SweetDoudouServiceImpl extends ServiceImpl<SweetDoudouMapper, Sweet
}
@Override
public ResponseDto create(SweetDouDouParam param) {
public ResponseDto<SweetDouDouVo> create(SweetDouDouParam param) {
String uid = CurrentUtil.getCurrentUid();
SweetDouDouVo vo = redisDataUtils.getSweetDouDou(uid);
if (null == vo) {
......@@ -83,7 +83,7 @@ public class SweetDoudouServiceImpl extends ServiceImpl<SweetDoudouMapper, Sweet
redisDataUtils.setSweetDouDou(entityVo);
return ResponseDto.success();
return ResponseDto.success(entityVo);
}
@Override
......
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