public class CmsApiServiceImpl extends BaseServiceImpl implements CmsApiService
apiInfoList, credentials, ISigner, serviceInfo
构造器和说明 |
---|
CmsApiServiceImpl() |
CmsApiServiceImpl(ServiceInfo serviceInfo) |
CmsApiServiceImpl(String accessKey,
String secretKey) |
限定符和类型 | 方法和说明 |
---|---|
ArticleSearchResponse |
articleSearch(ArticleSearchRequest searchRequest)
articleSearch
|
ArticleFeedResponse |
feed(ArticleFeedRequest articleFeedRequest)
ArticleFeed
|
ArticleGetGoodsRelatedResponse |
getGoodsRelatedArticles(ArticleGetGoodsRelatedRequest getGoodsRelatedArticlesRequest)
GetGoodsRelatedArticles
|
static CmsApiService |
getInstance()
已过时。
每次调用该方法都会新建一个实例,不建议使用该方法,可以参考Demo的使用方法
|
static CmsApiService |
getInstance(String region)
已过时。
每次调用该方法都会新建一个实例,不建议使用该方法,可以参考Demo的使用方法
|
ArticleGetVideoResponse |
getVideoByVid(ArticleGetVideoRequest articleGetVideoRequest)
ArticleGetVideoByVid
|
ArticleMGetGoodsRelatedResponse |
mGetGoodsRelatedArticles(ArticleMGetGoodsRelatedRequest mGetGoodsRelatedRequest)
mGetGoodsRelatedArticles
|
ArticleMGetVideoResponse |
mGetVideoByVids(ArticleMGetVideoRequest mGetVideoRequest)
ArticleMGetVideoByVids
|
ArticleRelatedFeedResponse |
relatedFeed(ArticleRelatedFeedRequest relatedFeedRequest)
relatedFeed
|
destroy, getAccessKey, getApiInfoList, getHttpClient, getISigner, getRegion, getSecretKey, getServiceInfo, getSessionToken, getSignUrl, json, makeRequest, post, postDataWithResponse, postFileMultiPart, prepareRequest, proto, put, putData, putData, putDataWithResponse, putDataWithResponse, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHost, setHttpClient, setRegion, setScheme, setSecretKey, setServiceInfo, setSessionToken, setSocketTimeout, signSts2
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, getAccessKey, getRegion, getSecretKey, getSessionToken, getSignUrl, json, post, proto, put, putData, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHost, setHttpClient, setRegion, setScheme, setSecretKey, setServiceInfo, setSessionToken, setSocketTimeout, signSts2
public CmsApiServiceImpl()
public CmsApiServiceImpl(ServiceInfo serviceInfo)
public static CmsApiService getInstance()
public static CmsApiService getInstance(String region) throws Exception
Exception
public ArticleFeedResponse feed(ArticleFeedRequest articleFeedRequest) throws Exception
CmsApiService
feed
在接口中 CmsApiService
articleFeedRequest
- - the feed requestException
- the exceptionpublic ArticleGetVideoResponse getVideoByVid(ArticleGetVideoRequest articleGetVideoRequest) throws Exception
CmsApiService
getVideoByVid
在接口中 CmsApiService
articleGetVideoRequest
- - the getVideoByVid requestException
- the exceptionpublic ArticleMGetVideoResponse mGetVideoByVids(ArticleMGetVideoRequest mGetVideoRequest) throws Exception
CmsApiService
mGetVideoByVids
在接口中 CmsApiService
mGetVideoRequest
- - the mGetVideoByVids requestException
- the exceptionpublic ArticleGetGoodsRelatedResponse getGoodsRelatedArticles(ArticleGetGoodsRelatedRequest getGoodsRelatedArticlesRequest) throws Exception
CmsApiService
getGoodsRelatedArticles
在接口中 CmsApiService
getGoodsRelatedArticlesRequest
- - the getGoodsRelatedArticles requestException
- the exceptionpublic ArticleMGetGoodsRelatedResponse mGetGoodsRelatedArticles(ArticleMGetGoodsRelatedRequest mGetGoodsRelatedRequest) throws Exception
CmsApiService
mGetGoodsRelatedArticles
在接口中 CmsApiService
mGetGoodsRelatedRequest
- - the mGetGoodsRelatedArticles requestException
- the exceptionpublic ArticleSearchResponse articleSearch(ArticleSearchRequest searchRequest) throws Exception
CmsApiService
articleSearch
在接口中 CmsApiService
searchRequest
- - the articleSearch requestException
- the exceptionpublic ArticleRelatedFeedResponse relatedFeed(ArticleRelatedFeedRequest relatedFeedRequest) throws Exception
CmsApiService
relatedFeed
在接口中 CmsApiService
relatedFeedRequest
- - the relatedFeed requestException
- the exceptionCopyright © 2024. All rights reserved.