微信公众号配置、OA审批通知、待办提醒底层消息推送代码。
This commit is contained in:
parent
cf23751ed3
commit
17bbcc644e
@ -1,8 +1,6 @@
|
||||
package cn.iocoder.yudao.module.system.api.subscribe.dto;
|
||||
|
||||
import com.sun.org.apache.xpath.internal.operations.Bool;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
@ -17,7 +15,6 @@ import java.util.List;
|
||||
*/
|
||||
@Schema(description = "RPC 服务 - 微信小程序订阅消息 Request DTO")
|
||||
@Data
|
||||
@Builder
|
||||
public class SubscribeMessageReqDTO {
|
||||
|
||||
@Schema(description = "接收者(用户)的 openid", requiredMode = Schema.RequiredMode.REQUIRED, example = "o3bwX6Yw1bvbMAV-jUNjHrbrJu0I")
|
||||
@ -44,6 +41,6 @@ public class SubscribeMessageReqDTO {
|
||||
}
|
||||
|
||||
@Schema(description = "模版类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1:小程序模版:2:公众号模版")
|
||||
@Builder.Default
|
||||
@NotNull(message = "模版类型不能为空")
|
||||
private String minOrMpType = "1" ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user