diff --git a/src/main/java/com/xkrs/controller/PushController.java b/src/main/java/com/xkrs/controller/PushController.java index 2c555d1..6787d71 100644 --- a/src/main/java/com/xkrs/controller/PushController.java +++ b/src/main/java/com/xkrs/controller/PushController.java @@ -1,7 +1,7 @@ package com.xkrs.controller; import com.xkrs.common.encapsulation.PromptMessageEnum; -import com.xkrs.model.qo.SysUserPushAccountQo; +import com.xkrs.model.qo.SysUserPushIdQo; import com.xkrs.straw.dao.SysUserDao; import com.xkrs.straw.model.entity.SysUserEntity; import com.xkrs.straw.model.helper.PushHelper; @@ -30,9 +30,9 @@ public class PushController { private PushHelper pushHelper; @PostMapping("/bindUserPushInfo") - public String bindUserPushInfo(@RequestBody SysUserPushAccountQo sysUserPushAccountQo) { - Long id = sysUserPushAccountQo.getId(); - String pushId = sysUserPushAccountQo.getPushId(); + public String bindUserPushInfo(@RequestBody SysUserPushIdQo sysUserPushIdQo) { + Long id = sysUserPushIdQo.getId(); + String pushId = sysUserPushIdQo.getPushId(); if (null == id) { return outputEncapsulationObject(PromptMessageEnum.PROCESS_FAIL, "绑定失败,id == null", locale); } diff --git a/src/main/java/com/xkrs/model/qo/SysUserPushAccountQo.java b/src/main/java/com/xkrs/model/qo/SysUserPushIdQo.java similarity index 82% rename from src/main/java/com/xkrs/model/qo/SysUserPushAccountQo.java rename to src/main/java/com/xkrs/model/qo/SysUserPushIdQo.java index d8e9dab..feb8f92 100644 --- a/src/main/java/com/xkrs/model/qo/SysUserPushAccountQo.java +++ b/src/main/java/com/xkrs/model/qo/SysUserPushIdQo.java @@ -1,12 +1,12 @@ package com.xkrs.model.qo; -public class SysUserPushAccountQo { +public class SysUserPushIdQo { private Long id; private String pushId; - public SysUserPushAccountQo() { + public SysUserPushIdQo() { } public Long getId() {