|
@@ -63,7 +63,8 @@ public class AppMemberUserController {
|
|
@PutMapping("/addRegisterId")
|
|
@PutMapping("/addRegisterId")
|
|
@Operation(summary = "添加安卓的极光注册id")
|
|
@Operation(summary = "添加安卓的极光注册id")
|
|
@PreAuthenticated
|
|
@PreAuthenticated
|
|
- public CommonResult<Boolean> addRegisterId(@NotEmpty String registerId) {
|
|
|
|
|
|
+ public CommonResult<Boolean> addRegisterId(String registerId) {
|
|
|
|
+ if(registerId == null || registerId.trim().isEmpty()) return success(true);
|
|
userService.addRegisterId(registerId);
|
|
userService.addRegisterId(registerId);
|
|
return success(true);
|
|
return success(true);
|
|
}
|
|
}
|