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

Commit 28ea08ac authored by zhengfuxin's avatar zhengfuxin

兑换码 trim

parent 70003926
...@@ -45,8 +45,9 @@ public class KylinArActiveController { ...@@ -45,8 +45,9 @@ public class KylinArActiveController {
@ApiOperation("兑换码兑换") @ApiOperation("兑换码兑换")
public ResponseDto<String> exchangeCode(@RequestParam(value = "code")String code) { public ResponseDto<String> exchangeCode(@RequestParam(value = "code")String code) {
String uid = CurrentUtil.getCurrentUid(); String uid = CurrentUtil.getCurrentUid();
return kylinArActiveService.exchange(code,uid); return kylinArActiveService.exchange(code.trim(),uid);
} }
} }
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