|
|
|
@ -390,7 +390,7 @@ public class DeviceController extends BaseController { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@PreAuthorize("hasAnyAuthority('CUSTOMER_USER')") |
|
|
|
@PreAuthorize("hasAuthority('CUSTOMER_USER')") |
|
|
|
@RequestMapping(value = "/customer/device/{deviceName}/claim", method = RequestMethod.POST) |
|
|
|
@ResponseBody |
|
|
|
public DeferredResult<ResponseEntity> claimDevice(@PathVariable(DEVICE_NAME) String deviceName, |
|
|
|
|