/getRegisterBot增加被转让者 login 和name
This commit is contained in:
parent
987747ba69
commit
bcf12da859
|
@ -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);
|
||||
|
|
|
@ -56,6 +56,17 @@ public class BotOutputVO implements Serializable {
|
|||
* 接收者id
|
||||
*/
|
||||
private Integer transferToId;
|
||||
|
||||
/**
|
||||
* 接收者login
|
||||
*/
|
||||
private String transferToLogin;
|
||||
|
||||
/**
|
||||
* 接收者username
|
||||
*/
|
||||
private String transferToName;
|
||||
|
||||
/**
|
||||
* 权限与事件
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue