|
|
|
@ -35,7 +35,6 @@ public class DeviceKeyController {
|
|
|
|
|
// @Resource
|
|
|
|
|
// private JavaMailSender javaMailSender;
|
|
|
|
|
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@GetMapping("sale/device/registerList")
|
|
|
|
|
public BaseResponse registerList(FilterDeviceKeyRequest filterDeviceKeyRequest) {
|
|
|
|
|
List<DeviceKeyEntity> deviceKeyEntities = deviceKeyService.findDeviceKey(filterDeviceKeyRequest);
|
|
|
|
@ -61,7 +60,6 @@ public class DeviceKeyController {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@PostMapping("/sale/info/registerKey")
|
|
|
|
|
public BaseResponse registerKey(@RequestBody DeviceKeyEntity deviceKeyEntity) {
|
|
|
|
|
String key = md5("glxp2020" + deviceKeyEntity.getImei());
|
|
|
|
@ -86,7 +84,7 @@ public class DeviceKeyController {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
|
|
|
|
|
@PostMapping("sale/device/register")
|
|
|
|
|
public BaseResponse saveRegister(@RequestBody DeviceKeyEntity deviceKeyEntity,
|
|
|
|
|
BindingResult bindingResult) {
|
|
|
|
|