修改transferBot接口,增加login属性
This commit is contained in:
parent
7fcb011a42
commit
59e6b60f84
|
@ -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()));
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue