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

Commit a9b4b3e0 authored by wangyifan's avatar wangyifan

doudou二期需求-新增参数

parent 11d56e1e
......@@ -20,6 +20,10 @@ public class SweetDouDouCheckParam implements Serializable {
@NotBlank(message = "doudouId不能为空")
private String doudouId;
@ApiModelProperty(position = 4, required = true, value = "activeId", example = "3189092902231364195328061")
@NotBlank(message = "activeId不能为空")
private String activeId;
@ApiModelProperty(position = 3, required = true, value = "用户ID", example = "937724050260131847782985")
@NotBlank(message = "userId不能为空")
private String userId;
......
......@@ -100,6 +100,7 @@ public class SweetDoudouServiceImpl extends ServiceImpl<SweetDoudouMapper, Sweet
return ResponseDto.failure(ErrorMapping.get("20003"));
}
// TODO
SweetDouDouVo vo = redisDataUtils.getSweetDouDou(param.getUserId());
if (null == vo) {
return ResponseDto.failure(ErrorMapping.get("90091"));
......@@ -139,6 +140,7 @@ public class SweetDoudouServiceImpl extends ServiceImpl<SweetDoudouMapper, Sweet
log.info("无权核验, authMoible: {}", param.getAuthMobile());
return ResponseDto.failure(ErrorMapping.get("20003"));
}
//TODO
SweetDouDouVo vo = redisDataUtils.getSweetDouDou(param.getUserId());
if (vo == null) {
return ResponseDto.failure(ErrorMapping.get("90091"));
......
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