/getRegisterBot增加被转让者 login 和name

This commit is contained in:
623756217 2023-03-13 15:46:56 +08:00
parent 987747ba69
commit bcf12da859
2 changed files with 13 additions and 0 deletions

View File

@ -104,6 +104,8 @@ public class UserService extends AbstractUserBot implements IUserService {
botOutputVO.setIsTransfer(1);
botOutputVO.setIsTransferSuccess(transferBot.getIsSuccess());
botOutputVO.setTransferToId(transferBot.getTransferToId());
botOutputVO.setTransferToLogin(transferBot.getToLogin());
botOutputVO.setTransferToName(api.getUserNameByUid(transferBot.getTransferToId().toString()));
}else {
botOutputVO.setIsTransfer(0);
botOutputVO.setIsTransferSuccess(3);

View File

@ -56,6 +56,17 @@ public class BotOutputVO implements Serializable {
* 接收者id
*/
private Integer transferToId;
/**
* 接收者login
*/
private String transferToLogin;
/**
* 接收者username
*/
private String transferToName;
/**
* 权限与事件
*/