This commit is contained in:
张良(004796)
2024-03-04 18:54:18 +08:00
commit 273ee16e8c
585 changed files with 41565 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
package com.ruoyi.yunxin.req;
import lombok.Data;
@Data
public class BlockReq {
private String accid;
private boolean needkick = true;
}

View File

@@ -0,0 +1,11 @@
package com.ruoyi.yunxin.req;
import lombok.Data;
@Data
public class CreateUserReq {
private String accid;
private String token;
private String name;
}

View File

@@ -0,0 +1,27 @@
package com.ruoyi.yunxin.req;
import lombok.Data;
@Data
public class Option {
/**
* 该消息是否需要APNS推送或安卓系统通知栏推送
*/
private boolean push = true;
/**
* 该消息是否需要漫游需要app开通漫游消息功能
*/
private boolean roam = false;
/**
* 该消息是否存云端历史
*/
private boolean history = false;
/**
* 该消息是否需要发送方多端同步
*/
private boolean sendersync = false;
/**
* 该消息是否需要抄送第三方 (需要app开通消息抄送功能)
*/
private boolean route = false;
}

View File

@@ -0,0 +1,13 @@
package com.ruoyi.yunxin.req;
import lombok.Data;
@Data
public class SendAttachMsgReq {
private String from;
private Integer msgType = 0;
private String to;
private String attach;
private String option;
private int save = 1;
}

View File

@@ -0,0 +1,13 @@
package com.ruoyi.yunxin.req;
import lombok.Data;
import java.util.List;
@Data
public class SendBatchAttachMsgReq {
private String fromAccid;
private List<String> toAccids;
private String attach;
private int save = 1;
}

View File

@@ -0,0 +1,14 @@
package com.ruoyi.yunxin.req;
import lombok.Data;
import java.util.List;
@Data
public class SendBatchMsgReq {
private String fromAccid;
private List<String> toAccids;
private int type = 0;
private String body;
private String option;
}

View File

@@ -0,0 +1,13 @@
package com.ruoyi.yunxin.req;
import lombok.Data;
@Data
public class SendMsgReq {
private String from;
private int ope = 0;
private String to;
private int type = 100;
private String body;
private String option;
}

View File

@@ -0,0 +1,8 @@
package com.ruoyi.yunxin.req;
import lombok.Data;
@Data
public class UnblockReq {
private String accid;
}

View File

@@ -0,0 +1,9 @@
package com.ruoyi.yunxin.req;
import lombok.Data;
@Data
public class UpdateTokenReq {
private String accid;
private String token;
}

View File

@@ -0,0 +1,13 @@
package com.ruoyi.yunxin.req;
import lombok.Data;
@Data
public class UpdateUinfoReq {
private String accid;
private String name;
private String icon;
private String birth;
private String mobile;
private String gender;
}

View File

@@ -0,0 +1,15 @@
package com.ruoyi.yunxin.req.type;
import lombok.Data;
@Data
public class YxTextData {
private String msg;
public YxTextData(String msg) {
this.msg = msg;
}
public YxTextData() {
}
}