JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
F
G
H
I
L
M
O
P
S
T
W
A
AppInfo
- Class in
cn.watsontech.webhelper.openapi.entity
AppInfo()
- Constructor for class cn.watsontech.webhelper.openapi.entity.
AppInfo
autoConvertDataList()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMsgForm
转换序列号后的data为正确的格式WxMessageData格式 序列化后的为Map格式
B
BaseSuccessResponse()
- Constructor for class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.BaseSuccessResponse
C
cn.watsontech.webhelper.openapi
- package cn.watsontech.webhelper.openapi
cn.watsontech.webhelper.openapi.aop
- package cn.watsontech.webhelper.openapi.aop
cn.watsontech.webhelper.openapi.aop.annotation
- package cn.watsontech.webhelper.openapi.aop.annotation
cn.watsontech.webhelper.openapi.entity
- package cn.watsontech.webhelper.openapi.entity
cn.watsontech.webhelper.openapi.error
- package cn.watsontech.webhelper.openapi.error
cn.watsontech.webhelper.openapi.form
- package cn.watsontech.webhelper.openapi.form
cn.watsontech.webhelper.openapi.form.wx
- package cn.watsontech.webhelper.openapi.form.wx
cn.watsontech.webhelper.openapi.params
- package cn.watsontech.webhelper.openapi.params
cn.watsontech.webhelper.openapi.params.base
- package cn.watsontech.webhelper.openapi.params.base
cn.watsontech.webhelper.openapi.service
- package cn.watsontech.webhelper.openapi.service
cn.watsontech.webhelper.openapi.utils.date
- package cn.watsontech.webhelper.openapi.utils.date
D
data
- Variable in class cn.watsontech.webhelper.openapi.form.wx.
WxMsgForm
模板内容,不填则下发空模板.
DateUtils
- Class in
cn.watsontech.webhelper.openapi.utils.date
日期工具类 继承org.apache.commons.lang3.time.DateUtils类 Created by Watson on 2019/12/16.
DateUtils()
- Constructor for class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
deleteForResult(String, String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
doAfter(JoinPoint)
- Method in class cn.watsontech.webhelper.openapi.aop.
OpenApiAspect
doAfterThrowingAdvice(JoinPoint, Throwable)
- Method in class cn.watsontech.webhelper.openapi.aop.
OpenApiAspect
后置异常通知 定义一个名字,该名字用于匹配通知实现方法的一个参数名,当目标方法抛出异常返回后,将把目标方法抛出的异常传给通知方法; throwing 限定了只有目标方法抛出的异常与通知方法相应参数异常类型时才能执行后置异常通知,否则不执行, 对于throwing对应的通知方法参数为Throwable类型将匹配任何异常。
doBefore(JoinPoint)
- Method in class cn.watsontech.webhelper.openapi.aop.
OpenApiAspect
前置通知,方法调用前被调用
F
FileListOpenApiParamsVo
- Class in
cn.watsontech.webhelper.openapi.params
示例Form,参数需要继承 OpenApiParamsVo Created by Watson on 2020/02/09.
FileListOpenApiParamsVo()
- Constructor for class cn.watsontech.webhelper.openapi.params.
FileListOpenApiParamsVo
formatDate(Date, Object...)
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
得到日期字符串 默认格式(yyyy-MM-dd) pattern可以为:"yyyy-MM-dd" "HH:mm:ss" "E"
formatDateTime(Date)
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
得到日期时间字符串,转换格式(yyyy-MM-dd HH:mm:ss)
formatDateTime(long)
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
转换为时间(天,时:分:秒.毫秒)
G
getAllowDelay()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取允许最大delay时长,单位为s
getAllowIps()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取白名单ip,逗号隔开
getAllowUrls()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取运行访问的urls
getAppid()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm.MiniApp
getAppid()
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiParamsVo
getAppid()
- Method in interface cn.watsontech.webhelper.openapi.params.base.
PublicApiParams
服务器分配的appid
getAuthorities()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getAvatarUrl()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getCode()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取应用id
getCode()
- Method in class cn.watsontech.webhelper.openapi.form.
WxappLoginForm
getCode()
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxAppLoginForm
getCode()
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubExchangeAuthCodeToUserForm
getColor()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMessageData
getContactName()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取联系人
getContactTelephone()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取联系方式
getContentColor()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
getContentValue()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
getCreatedBy()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取创建人名称
getCreatedByName()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取创建人
getCreatedTime()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取创建时间
getCredentialsExpired()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getData()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMsgForm
getDate(String, boolean)
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
getDate()
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
得到当前日期字符串 格式(yyyy-MM-dd)
getDate(String)
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
得到当前日期字符串 格式(yyyy-MM-dd) pattern可以为:"yyyy-MM-dd" "HH:mm:ss" "E"
getDateTime()
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
得到当前日期和时间字符串 格式(yyyy-MM-dd HH:mm:ss)
getDay()
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
得到当天字符串 格式(dd)
getDescription()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取描述
getDistanceOfTwoDate(Date, Date)
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
获取两个日期之间的天数
getEnabled()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取是否启用
getEnabled()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getExpired()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getExpireTime()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取过期时间
getForResult(String, String, Class<T>)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
getFrom()
- Method in class cn.watsontech.webhelper.openapi.params.
FileListOpenApiParamsVo
getFromDate(String)
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
getFromDate()
- Method in class cn.watsontech.webhelper.openapi.params.
FileListOpenApiParamsVo
getHostRequestUrl(String, String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
getId()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
getId()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getLimit()
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
getLocked()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getMiniProgram()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
getMobile()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getModifiedBy()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取是否已经删除,1已删除
getModifiedByName()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
getModifiedTime()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取删除时间
getMonth()
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
得到当前月份字符串 格式(MM)
getName()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取文件名称
getName()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMessageData
getNeedSignParamString(Collection<OpenApiParams>)
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiParamsVo
getNeedSignParamString(Collection<OpenApiParams>)
- Method in interface cn.watsontech.webhelper.openapi.params.base.
PublicApiParams
getNickName()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getNonce()
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiParamsVo
getNonce()
- Method in interface cn.watsontech.webhelper.openapi.params.base.
PublicApiParams
唯一随机字符串nonce=random 服务器保存每个请求nonce直到timestamp过期 防请求重放
getNotNullFields(Class, Object)
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiParamsVo
getOffset()
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
getOpenid()
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxAppLoginResponse
getOrd()
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
getPage()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMaSubscribeMsgForm
getPassword()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getPath()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm.MiniApp
getPermissions()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getRedirectURI()
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubBuildAuthorizationUrlForm
getRequestId()
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiParamsVo
getRequestId()
- Method in interface cn.watsontech.webhelper.openapi.params.base.
PublicApiParams
请求id
getRequestUrl()
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubGetJsTicketForm
getRoles()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getSby()
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
getScene()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
getScope()
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubBuildAuthorizationUrlForm
getSecret()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取拥有人
getSessionKey()
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxAppLoginResponse
getSign()
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiParamsVo
getSign()
- Method in interface cn.watsontech.webhelper.openapi.params.base.
PublicApiParams
1、按照请求参数名的字母升序排列非空请求参数(包含&appid=appid) 2、拼接密钥appSecret:&appSecret=secret 3、拼接url:&url=请求路径(除域名和url参数外部分,比如:http://www.xxx.com/api/v1/sms/list?paramA=1¶mB=2 的url为 /api/v1/sms/list) 3、MD5并转换为大写
getState()
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubBuildAuthorizationUrlForm
getSuccess()
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.BaseSuccessResponse
getSuccess()
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubSuccessResponse
getTag()
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxAppLoginResponse
getTemplateId()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMaSubscribeMsgForm
getTemplateId()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
getTime()
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
得到当前时间字符串 格式(HH:mm:ss)
getTimestamp()
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiParamsVo
getTimestamp()
- Method in interface cn.watsontech.webhelper.openapi.params.base.
PublicApiParams
请求时间戳 值必须在服务器允许时间范围内,比如:60s
getTitle()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
getTo()
- Method in class cn.watsontech.webhelper.openapi.params.
FileListOpenApiParamsVo
getToDate(String)
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
getToDate()
- Method in class cn.watsontech.webhelper.openapi.params.
FileListOpenApiParamsVo
getToUser()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMaSubscribeMsgForm
getToUser()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
getType()
- Method in class cn.watsontech.webhelper.openapi.params.
FileListOpenApiParamsVo
getUid()
- Method in class cn.watsontech.webhelper.openapi.params.
FileListOpenApiParamsVo
getUnionid()
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxAppLoginResponse
getUnreadMessages()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getUrl()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
getUserId()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getUserName()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getUsername()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getUserType()
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
getValue()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMessageData
getVersion()
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
获取版本号
getWeek()
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
得到当前星期字符串 格式(E)星期几
getWxAppid()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMaSubscribeMsgForm
getWxAppid()
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
getWxAppid()
- Method in class cn.watsontech.webhelper.openapi.form.
WxappLoginForm
getWxAppid()
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxAppLoginForm
getWxAppid()
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubBuildAuthorizationUrlForm
getWxAppid()
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubExchangeAuthCodeToUserForm
getWxAppid()
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubGetJsTicketForm
getYear()
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
得到当前年份字符串 格式(yyyy)
H
handleError(ClientHttpResponse, HttpStatus)
- Method in class cn.watsontech.webhelper.openapi.error.
OpenApiResponseErrorHandler
I
IgnoreField
- Annotation Type in
cn.watsontech.webhelper.openapi.params.base
不参与openapi 签名校验的字段 Created by Watson on 2020/02/09.
L
limit
- Variable in class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
log
- Static variable in class cn.watsontech.webhelper.openapi.aop.
OpenApiAspect
M
main(String[])
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
MapOpenApiParams
<
K
,
V
> - Class in
cn.watsontech.webhelper.openapi.params.base
MapOpenApiParams()
- Constructor for class cn.watsontech.webhelper.openapi.params.base.
MapOpenApiParams
mapToObject(Map<String, Object>, Class<E>)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
MiniApp()
- Constructor for class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm.MiniApp
O
objectToMap(Object)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
offset
- Variable in class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
OpenApi
- Annotation Type in
cn.watsontech.webhelper.openapi.aop.annotation
需要公开的api打上该注解 Created by Watson on 2020/02/09.
openApi()
- Method in class cn.watsontech.webhelper.openapi.aop.
OpenApiAspect
定义一个切入点.
OpenApiAspect
- Class in
cn.watsontech.webhelper.openapi.aop
Created by Watson on 2019/12/11.
OpenApiAspect()
- Constructor for class cn.watsontech.webhelper.openapi.aop.
OpenApiAspect
OpenApiController
- Class in
cn.watsontech.webhelper.openapi
示例Controller,使用OpenApi注解、公开接口参数需要继承 openApiParamsVo 和 标记访问人员 OpenApiLoginUser Created by Watson on 2020/02/09.
OpenApiController()
- Constructor for class cn.watsontech.webhelper.openapi.
OpenApiController
OpenApiDecodeService
- Class in
cn.watsontech.webhelper.openapi.service
Created by Watson on 2020/10/19.
OpenApiDecodeService(RestTemplate, String)
- Constructor for class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
OpenApiDecodeService.BaseSuccessResponse
<
T
> - Class in
cn.watsontech.webhelper.openapi.service
OpenApiDecodeService.WxAppLoginForm
- Class in
cn.watsontech.webhelper.openapi.service
示例参数
OpenApiDecodeService.WxAppLoginResponse
- Class in
cn.watsontech.webhelper.openapi.service
示例接口返回包装类
OpenApiDecodeService.WxPubBuildAuthorizationUrlForm
- Class in
cn.watsontech.webhelper.openapi.service
OpenApiDecodeService.WxPubExchangeAuthCodeToUserForm
- Class in
cn.watsontech.webhelper.openapi.service
OpenApiDecodeService.WxPubGetJsTicketForm
- Class in
cn.watsontech.webhelper.openapi.service
OpenApiDecodeService.WxPubSuccessResponse
- Class in
cn.watsontech.webhelper.openapi.service
OpenApiListParamsVo
- Class in
cn.watsontech.webhelper.openapi.params.base
注意:不能使用此vo直接做请求参数,缺少具体参数 Created by Watson on 2020/02/09.
OpenApiListParamsVo()
- Constructor for class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
OpenApiLoginUser
- Class in
cn.watsontech.webhelper.openapi.params
主要给openapi 确认当前操作用户信息 Created by Watson on 2020/2/15.
OpenApiLoginUser()
- Constructor for class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
OpenApiParams
- Interface in
cn.watsontech.webhelper.openapi.params.base
openApi 标记接口,用户给mapper 添加额外需要 参与签名的参数 仅参与签名的参数需要实现该接口 Created by Watson on 2020/02/15.
openApiParams(String, String, OpenApiParams, String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
openApiParams(String, String, List<OpenApiParams>, String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
OpenApiParamsVo
- Class in
cn.watsontech.webhelper.openapi.params.base
注意:不能使用此vo直接做请求参数,缺少具体参数 Created by Watson on 2020/02/09.
OpenApiParamsVo()
- Constructor for class cn.watsontech.webhelper.openapi.params.base.
OpenApiParamsVo
OpenApiResponseErrorHandler
- Class in
cn.watsontech.webhelper.openapi.error
Created by Watson on 2020/6/20.
OpenApiResponseErrorHandler()
- Constructor for class cn.watsontech.webhelper.openapi.error.
OpenApiResponseErrorHandler
OpenApiSampleService
- Class in
cn.watsontech.webhelper.openapi.service
示例service Created by Watson on 2020/02/09.
OpenApiSampleService()
- Constructor for class cn.watsontech.webhelper.openapi.service.
OpenApiSampleService
OpenAppInfoService
- Interface in
cn.watsontech.webhelper.openapi.service
Created by Watson Song on 2020/02/12.
ord
- Variable in class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
P
parseDate(Object)
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
日期型字符串转化为日期格式 "yyyy-MM-dd HH:mm:ss", "yyyy/MM/dd HH:mm:ss", "yyyy.MM.dd HH:mm:ss", "yyyy-MM-dd HH:mm", "yyyy/MM/dd HH:mm", "yyyy.MM.dd HH:mm", "yyyy-MM-dd", "yyyy/MM/dd", "yyyy.MM.dd", "yyyy-MM", "yyyy/MM", "yyyy.MM"
pastDays(Date)
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
获取过去的天数
pastHour(Date)
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
获取过去的小时
pastMinutes(Date)
- Static method in class cn.watsontech.webhelper.openapi.utils.date.
DateUtils
获取过去的分钟
postFilesForResult(String, String, Object, Class<T>)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
postForResult(String, String, Object, Class<T>)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
PublicApiParams
- Interface in
cn.watsontech.webhelper.openapi.params.base
客户端签名: 生成当前时间戳timestamp=now和唯一随机字符串nonce=random 按照请求参数名的字母升序排列非空请求参数(包含Appid),使用URL键值对的格式(即key1=value1&key2=value2…)拼接成字符串stringA stringA="Appid=access&home=world&name=hello&work=java×tamp=now&nonce=random"; 拼接密钥AppSecret stringSignTemp="appid=appid&home=world&name=hello&work=java×tamp=now&nonce=random&appSecret=secret"; 拼接url(requestUrl 为访问路径,除域名外的请求路径,不包含url参数) stringSignTemp="appid=appid&home=world&name=hello&work=java×tamp=now&nonce=random&appSecret=secret&url=requestUrl"; MD5并转换为大写 sign=MD5(stringSignTemp).toUpperCase(); 最终请求 http://api.test.com/test?appid=appid&name=hello&home=world&work=java×tamp=now&nonce=nonce&sign=sign; 服务器验证: [!image](https://upload-images.jianshu.io/upload_images/10418241-7643ad86154b365d.png?imageMogr2/auto-orient/strip|imageView2/2/w/338/format/webp) Created by Watson on 2020/02/09.
putForResult(String, String, Object)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
S
sby
- Variable in class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
selectByAppId(String)
- Method in interface cn.watsontech.webhelper.openapi.service.
OpenAppInfoService
sendEmail(String, Map, OpenApiParamsVo, OpenApiLoginUser)
- Method in class cn.watsontech.webhelper.openapi.
OpenApiController
sendMail(Object)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiSampleService
发送邮件
sendWxMaSubscribeMessage(String, String, String, String, String, String, List<WxMessageData>)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
发送小程序订阅消息
sendWxMpSubscribeMessage(String, String, String, String, String, String, String, String, String, String, WxMpSubscribeMsgForm.MiniApp)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
发送公众号订阅消息
setAllowDelay(Integer)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置允许最大delay时长,单位为s
setAllowIps(String)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置白名单ip,逗号隔开
setAllowUrls(String)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置运行访问的urls
setAppid(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm.MiniApp
setAppid(String)
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiParamsVo
setCode(String)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置应用id
setCode(String)
- Method in class cn.watsontech.webhelper.openapi.form.
WxappLoginForm
setCode(String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxAppLoginForm
setCode(String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubExchangeAuthCodeToUserForm
setColor(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMessageData
setContactName(String)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置联系人
setContactTelephone(String)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置联系方式
setContentColor(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
setContentValue(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
setCreatedBy(Long)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置创建人名称
setCreatedByName(String)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置创建人
setCreatedTime(Date)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置创建时间
setData(List<WxMessageData>)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMsgForm
setDescription(String)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置描述
setEnabled(Boolean)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置是否启用
setExpireTime(Date)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置过期时间
setFrom(String)
- Method in class cn.watsontech.webhelper.openapi.params.
FileListOpenApiParamsVo
setId(Long)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
setLimit(Integer)
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
setMiniProgram(WxMpSubscribeMsgForm.MiniApp)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
setModifiedBy(Long)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置是否已经删除,1已删除
setModifiedByName(String)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
setModifiedTime(Date)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置删除时间
setName(String)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置文件名称
setName(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMessageData
setNonce(String)
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiParamsVo
setOffset(Integer)
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
setOpenid(String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxAppLoginResponse
setOrd(String)
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
setPage(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMaSubscribeMsgForm
setPath(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm.MiniApp
setRedirectURI(String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubBuildAuthorizationUrlForm
setRequestId(String)
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiParamsVo
setRequestId(String)
- Method in interface cn.watsontech.webhelper.openapi.params.base.
PublicApiParams
setRequestUrl(String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubGetJsTicketForm
setSby(String)
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
setScene(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
setScope(String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubBuildAuthorizationUrlForm
setSecret(String)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置拥有人
setSessionKey(String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxAppLoginResponse
setSign(String)
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiParamsVo
setState(String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubBuildAuthorizationUrlForm
setSuccess(T)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.BaseSuccessResponse
setSuccess(String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubSuccessResponse
setTag(String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxAppLoginResponse
setTemplateId(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMaSubscribeMsgForm
setTemplateId(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
setTimestamp(Long)
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiParamsVo
setTitle(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
setTo(String)
- Method in class cn.watsontech.webhelper.openapi.params.
FileListOpenApiParamsVo
setToUser(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMaSubscribeMsgForm
setToUser(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
setType(String)
- Method in class cn.watsontech.webhelper.openapi.params.
FileListOpenApiParamsVo
setUid(Long)
- Method in class cn.watsontech.webhelper.openapi.params.
FileListOpenApiParamsVo
setUnionid(String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxAppLoginResponse
setUrl(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
setUserId(Long)
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
setUserName(String)
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
setUserType(String)
- Method in class cn.watsontech.webhelper.openapi.params.
OpenApiLoginUser
setValue(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMessageData
setVersion(Integer)
- Method in class cn.watsontech.webhelper.openapi.entity.
AppInfo
设置版本号
setWxAppid(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMaSubscribeMsgForm
setWxAppid(String)
- Method in class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
setWxAppid(String)
- Method in class cn.watsontech.webhelper.openapi.form.
WxappLoginForm
setWxAppid(String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxAppLoginForm
setWxAppid(String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubBuildAuthorizationUrlForm
setWxAppid(String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubExchangeAuthCodeToUserForm
setWxAppid(String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubGetJsTicketForm
signParams(String, String, String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
T
toGetUrl()
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiParamsVo
根据内容生成openapi签名链接
toString()
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiListParamsVo
toUrl()
- Method in class cn.watsontech.webhelper.openapi.params.base.
OpenApiParamsVo
根据内容生成openapi签名链接
W
wxAppLogin(String, String, String, String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
示例接口调用 小程序登录code换取openid
WxappLoginForm
- Class in
cn.watsontech.webhelper.openapi.form
示例Form,参与签名的POST body参数需要实现 openApiParams Created by watson on 2020/6/17.
WxappLoginForm()
- Constructor for class cn.watsontech.webhelper.openapi.form.
WxappLoginForm
WxAppLoginForm(String, String)
- Constructor for class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxAppLoginForm
WxAppLoginResponse()
- Constructor for class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxAppLoginResponse
WxMaSubscribeMsgForm
- Class in
cn.watsontech.webhelper.openapi.form.wx
Created by Watson on 2020/2/22.
WxMaSubscribeMsgForm()
- Constructor for class cn.watsontech.webhelper.openapi.form.wx.
WxMaSubscribeMsgForm
WxMaSubscribeMsgForm(String, String, String, String, List<WxMessageData>)
- Constructor for class cn.watsontech.webhelper.openapi.form.wx.
WxMaSubscribeMsgForm
WxMessageData
- Class in
cn.watsontech.webhelper.openapi.form.wx
Created by watson on 2020/4/14.
WxMessageData()
- Constructor for class cn.watsontech.webhelper.openapi.form.wx.
WxMessageData
WxMessageData(String, String)
- Constructor for class cn.watsontech.webhelper.openapi.form.wx.
WxMessageData
WxMessageData(String, String, String)
- Constructor for class cn.watsontech.webhelper.openapi.form.wx.
WxMessageData
WxMessageData(String, String, boolean)
- Constructor for class cn.watsontech.webhelper.openapi.form.wx.
WxMessageData
WxMessageData(String, String, String, boolean)
- Constructor for class cn.watsontech.webhelper.openapi.form.wx.
WxMessageData
WxMpSubscribeMsgForm
- Class in
cn.watsontech.webhelper.openapi.form.wx
微信公众号一次性订阅消息 Created by Watson on 2020/2/22.
WxMpSubscribeMsgForm()
- Constructor for class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
WxMpSubscribeMsgForm(String, String, String, String, String, String, String, String)
- Constructor for class cn.watsontech.webhelper.openapi.form.wx.
WxMpSubscribeMsgForm
WxMpSubscribeMsgForm.MiniApp
- Class in
cn.watsontech.webhelper.openapi.form.wx
WxMsgForm
- Class in
cn.watsontech.webhelper.openapi.form.wx
Created by watson on 2020/4/15.
WxMsgForm()
- Constructor for class cn.watsontech.webhelper.openapi.form.wx.
WxMsgForm
WxMsgForm(List<WxMessageData>)
- Constructor for class cn.watsontech.webhelper.openapi.form.wx.
WxMsgForm
wxpubBuildAuthorizationUrl(String, String, String, String, String, String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
公众号获取授权验证url
WxPubBuildAuthorizationUrlForm(String, String, String, String)
- Constructor for class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubBuildAuthorizationUrlForm
WxPubExchangeAuthCodeToUserForm(String, String)
- Constructor for class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubExchangeAuthCodeToUserForm
wxpubExchangeAuthCodeToUserInfo(String, String, String, String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
公众号授权码换取用户信息
WxPubGetJsTicketForm(String, String)
- Constructor for class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubGetJsTicketForm
wxpubGetJsTickets(String, String, String, String)
- Method in class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService
公众号获取授权验证url
WxPubSuccessResponse()
- Constructor for class cn.watsontech.webhelper.openapi.service.
OpenApiDecodeService.WxPubSuccessResponse
A
B
C
D
F
G
H
I
L
M
O
P
S
T
W
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2021. All rights reserved.