替换旧代码

This commit is contained in:
liuchengqian 2023-02-15 17:35:27 +08:00
parent 9cfa6bd47b
commit 8f444954f1
2 changed files with 6 additions and 6 deletions

View File

@ -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);
}

View File

@ -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() {