forked from rongchao/epmet-cloud-rizhao
55 changed files with 475 additions and 72 deletions
@ -0,0 +1,36 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 公众号客户删除入参DTO |
|||
* @NEI https://nei.netease.com/interface/detail/?pid=52285&id=323482
|
|||
* @ClassName CommonCustomerIdAndSrcFormDTO |
|||
* @Auth wangc |
|||
* @Date 2020-08-25 11:02 |
|||
*/ |
|||
@Data |
|||
public class CommonCustomerIdAndSrcFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -2945388338786885295L; |
|||
|
|||
public interface CustomerAndSrcGroup extends CustomerClientShowGroup{} |
|||
|
|||
/** |
|||
* 客户Id |
|||
* */ |
|||
@NotBlank(message = "客户Id不能为空",groups = CustomerAndSrcGroup.class) |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 数据来源(dev:开发 test:体验 prod:生产) |
|||
* */ |
|||
@NotBlank(message = "数据来源不能为空",groups = CustomerAndSrcGroup.class) |
|||
private String source; |
|||
|
|||
@NotBlank(message = "用户Id不能为空",groups = CustomerAndSrcGroup.class) |
|||
private String userId; |
|||
} |
@ -0,0 +1,27 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 获取客户第三方token 入参DTO |
|||
* @NEI https://nei.netease.com/interface/detail/?pid=52285&id=323480
|
|||
* @ClassName CommonCustomerIdFormDTO |
|||
* @Auth wangc |
|||
* @Date 2020-08-25 10:57 |
|||
*/ |
|||
@Data |
|||
public class CommonCustomerIdFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 3160741101286756024L; |
|||
|
|||
public interface PaCustomerIdGroup extends CustomerClientShowGroup{} |
|||
|
|||
/** |
|||
* 客户Id |
|||
* */ |
|||
@NotBlank(message = "客户Id不能为空" , groups = PaCustomerIdGroup.class) |
|||
private String customerId; |
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 授权accessToken和app端的查询返参 |
|||
* @ClassName AuthAccessTokenClientResultDTO |
|||
* @Auth wangc |
|||
* @Date 2020-08-25 13:41 |
|||
*/ |
|||
@Data |
|||
public class AuthAccessTokenClientResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -642465145534993509L; |
|||
|
|||
/** |
|||
* 客户端类型 |
|||
* */ |
|||
private String clientType; |
|||
|
|||
/** |
|||
* 调用令牌 |
|||
* */ |
|||
private String accessToken; |
|||
} |
@ -0,0 +1,41 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description |
|||
* @ClassName CustomerTokensResultDTO |
|||
* @Auth wangc |
|||
* @Date 2020-08-25 11:16 |
|||
*/ |
|||
@Data |
|||
public class CustomerTokensResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -6811282503588315365L; |
|||
|
|||
/** |
|||
* 客户Id |
|||
* */ |
|||
private String customerId = ""; |
|||
|
|||
/** |
|||
* 客户名称 |
|||
* */ |
|||
private String customerName = ""; |
|||
|
|||
/** |
|||
* 第三方token |
|||
* */ |
|||
private String componentAccessToken = ""; |
|||
|
|||
/** |
|||
* 授权方居民端token |
|||
* */ |
|||
private String resiAuthorizerToken = ""; |
|||
|
|||
/** |
|||
* 授权方工作端token |
|||
* */ |
|||
private String workAuthorizerToken = ""; |
|||
} |
Loading…
Reference in new issue