修改transferBot接口,增加login属性

This commit is contained in:
623756217 2023-03-08 11:20:22 +08:00
parent 7fcb011a42
commit 59e6b60f84
2 changed files with 4 additions and 2 deletions

View File

@ -865,10 +865,12 @@ public class UserService extends AbstractUserBot implements IUserService {
TransferBot transferBot = new TransferBot();
transferBot.setBotId(transferBotRequest.getBotId());
transferBot.setTransferFromId(transferBotRequest.getUserId());
transferBot.setFromLogin(transferBotRequest.getLogin());
//待转让状态
transferBot.setIsSuccess(2);
transferBot.setTransferTime(new Date());
transferBot.setTransferToId(transferBotRequest.getTransferToUserId());
transferBot.setToLogin(transferBotRequest.getLogin());
// //修改注册人信息
// RegisterBot registerBot = registerMapper.selectOne(Wrappers.<RegisterBot>lambdaQuery()
// .eq(RegisterBot::getBotId,transferBotRequest.getBotId()));

View File

@ -21,8 +21,8 @@ public class TransferBotRequest implements Serializable {
@NotNull(message = "userId is required")
private Integer userId;
private String login;
@NotNull(message = "userName is required")
private String userName;
@NotNull(message = "toLogn is required")
private String toLogn;
@NotNull(message = "botId is required")
private Integer botId;
private Integer transferToUserId;