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

Commit 69e9b1d2 authored by 姜秀龙's avatar 姜秀龙

doudou 接口

parent d5c1738b
...@@ -49,8 +49,12 @@ public class SweetDoudouServiceImpl extends ServiceImpl<SweetDoudouMapper, Sweet ...@@ -49,8 +49,12 @@ public class SweetDoudouServiceImpl extends ServiceImpl<SweetDoudouMapper, Sweet
@Override @Override
public ResponseDto create(SweetDouDouParam param) { public ResponseDto create(SweetDouDouParam param) {
String nextSnowId = IDGenerator.nextSnowId();
String uid = CurrentUtil.getCurrentUid(); String uid = CurrentUtil.getCurrentUid();
SweetDouDouVo vo = redisDataUtils.getSweetDouDou(uid);
if (null == vo) {
return ResponseDto.failure("您已经预约过啦~");
}
String nextSnowId = IDGenerator.nextSnowId();
String username = param.getUsername(); String username = param.getUsername();
String phone = param.getPhone(); String phone = param.getPhone();
String platform = param.getPlatform(); String platform = param.getPlatform();
......
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