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

Commit 9d9a47bb authored by 胡佳晨's avatar 胡佳晨

修改 ar 兑换码接口 都返1

parent d0cf82d4
......@@ -34,13 +34,13 @@ public class KylinArActiveController {
@PostMapping("getUserStatus")
@ApiOperation("查看用户是否绑定(0没有绑定、1绑定了、2失效[目前失效没有用]")
public ResponseDto<String> getUserStatus() {
String uid = CurrentUtil.getCurrentUid();
if(null==dataUtils.getUserStatus(uid)){
return ResponseDto.success("0");
}else{
return ResponseDto.success("1");
// String uid = CurrentUtil.getCurrentUid();
// if(null==dataUtils.getUserStatus(uid)){
// return ResponseDto.success("0");
// }else{
// return ResponseDto.success(dataUtils.getUserStatus(uid));
}
// }
}
@PostMapping("exchangeCode")
@ApiOperation("兑换码兑换")
......
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