|
@@ -63,7 +63,8 @@ public class AppMemberUserController {
|
|
|
@PutMapping("/addRegisterId")
|
|
|
@Operation(summary = "添加安卓的极光注册id")
|
|
|
@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);
|
|
|
return success(true);
|
|
|
}
|