public interface WxOpenService
限定符和类型 | 方法和说明 |
---|---|
String |
get(String url,
String queryParam)
当本Service没有实现某个API的时候,可以用这个,针对所有微信API中的GET请求
|
WxOpenComponentService |
getWxOpenComponentService()
Gets wx open component service.
|
WxOpenConfigStorage |
getWxOpenConfigStorage()
Gets wx open config storage.
|
String |
post(String url,
String postData)
当本Service没有实现某个API的时候,可以用这个,针对所有微信API中的POST请求
|
void |
setWxOpenConfigStorage(WxOpenConfigStorage wxOpenConfigStorage)
Sets wx open config storage.
|
WxMinishopImageUploadResult |
uploadMinishopMediaFile(String url,
File file) |
WxOpenComponentService getWxOpenComponentService()
WxOpenConfigStorage getWxOpenConfigStorage()
void setWxOpenConfigStorage(WxOpenConfigStorage wxOpenConfigStorage)
wxOpenConfigStorage
- the wx open config storageString get(String url, String queryParam) throws WxErrorException
url
- the urlqueryParam
- the query paramWxErrorException
- the wx error exceptionString post(String url, String postData) throws WxErrorException
url
- the urlpostData
- the post dataWxErrorException
- the wx error exceptionWxMinishopImageUploadResult uploadMinishopMediaFile(String url, File file) throws WxErrorException
WxErrorException
Copyright © 2024. All rights reserved.