Class TencentServiceRequest
java.lang.Object
cn.sinozg.applet.biz.system.vo.request.TencentServiceRequest
接收小程序
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @NotBlank(message="{TIRSCI.TencentServiceRequest.echostr}") String验证的消息private @NotBlank(message="{TIRSCI.TencentServiceRequest.nonce}") String随机数private @NotBlank(message="{TIRSCI.TencentServiceRequest.signature}") String加密后的信息private @NotBlank(message="{TIRSCI.TencentServiceRequest.timestamp}") String时间戳 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription获取 验证的消息getNonce()获取 随机数获取 加密后的信息获取 时间戳voidsetEchostr(String echostr) 设置 验证的消息void设置 随机数voidsetSignature(String signature) 设置 加密后的信息voidsetTimestamp(String timestamp) 设置 时间戳
-
Field Details
-
echostr
@NotBlank(message="{TIRSCI.TencentServiceRequest.echostr}") private @NotBlank(message="{TIRSCI.TencentServiceRequest.echostr}") String echostr验证的消息 -
signature
@NotBlank(message="{TIRSCI.TencentServiceRequest.signature}") private @NotBlank(message="{TIRSCI.TencentServiceRequest.signature}") String signature加密后的信息 -
timestamp
@NotBlank(message="{TIRSCI.TencentServiceRequest.timestamp}") private @NotBlank(message="{TIRSCI.TencentServiceRequest.timestamp}") String timestamp时间戳 -
nonce
@NotBlank(message="{TIRSCI.TencentServiceRequest.nonce}") private @NotBlank(message="{TIRSCI.TencentServiceRequest.nonce}") String nonce随机数
-
-
Constructor Details
-
TencentServiceRequest
public TencentServiceRequest()
-
-
Method Details
-
getEchostr
获取 验证的消息- Returns:
- echostr 验证的消息
-
setEchostr
设置 验证的消息- Parameters:
echostr- 验证的消息
-
getSignature
获取 加密后的信息- Returns:
- signature 加密后的信息
-
setSignature
设置 加密后的信息- Parameters:
signature- 加密后的信息
-
getTimestamp
获取 时间戳- Returns:
- timestamp 时间戳
-
setTimestamp
设置 时间戳- Parameters:
timestamp- 时间戳
-
getNonce
获取 随机数- Returns:
- nonce 随机数
-
setNonce
设置 随机数- Parameters:
nonce- 随机数
-