From 8f444954f1037241a4e7f75057cd4e80db72d6e4 Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Wed, 15 Feb 2023 17:35:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E6=97=A7=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/xkrs/controller/PushController.java | 8 ++++---- .../{SysUserPushAccountQo.java => SysUserPushIdQo.java} | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) rename src/main/java/com/xkrs/model/qo/{SysUserPushAccountQo.java => SysUserPushIdQo.java} (82%) 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() {