Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yzg-util
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
YZG
yzg-util
Commits
7ab504bc
Commit
7ab504bc
authored
Jul 06, 2022
by
xianjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建微信小程序接口/实现
parent
a97d3dfb
Changes
105
Hide whitespace changes
Inline
Side-by-side
Showing
105 changed files
with
2730 additions
and
27 deletions
+2730
-27
WxXcxAnalysisGetPerformanceDataService.java
.../data/service/WxXcxAnalysisGetPerformanceDataService.java
+1
-1
WxXcxAnalysisGetPerformanceDataServiceImpl.java
...vice/impl/WxXcxAnalysisGetPerformanceDataServiceImpl.java
+3
-2
WxXcxAnalysisGetVisitDistributionService.java
...ion/service/WxXcxAnalysisGetVisitDistributionService.java
+2
-0
WxXcxAnalysisGetVisitDistributionServiceImpl.java
...ce/impl/WxXcxAnalysisGetVisitDistributionServiceImpl.java
+2
-0
WxXcxAnalysisGetVisitPageService.java
...alysis/page/service/WxXcxAnalysisGetVisitPageService.java
+23
-0
WxXcxAnalysisGetVisitPageServiceImpl.java
...ge/service/impl/WxXcxAnalysisGetVisitPageServiceImpl.java
+40
-0
WxXcxAnalysisGetUserPortraitService.java
...portrait/service/WxXcxAnalysisGetUserPortraitService.java
+23
-0
WxXcxAnalysisGetUserPortraitServiceImpl.java
...service/impl/WxXcxAnalysisGetUserPortraitServiceImpl.java
+38
-0
WxXcxAnalysisGetDailyRetainService.java
...is/retain/service/WxXcxAnalysisGetDailyRetainService.java
+22
-0
WxXcxAnalysisGetMonthlyRetainService.java
.../retain/service/WxXcxAnalysisGetMonthlyRetainService.java
+22
-0
WxXcxAnalysisGetWeeklyRetainService.java
...s/retain/service/WxXcxAnalysisGetWeeklyRetainService.java
+22
-0
WxXcxAnalysisGetDailyRetainServiceImpl.java
.../service/impl/WxXcxAnalysisGetDailyRetainServiceImpl.java
+39
-0
WxXcxAnalysisGetMonthlyRetainServiceImpl.java
...ervice/impl/WxXcxAnalysisGetMonthlyRetainServiceImpl.java
+39
-0
WxXcxAnalysisGetWeeklyRetainServiceImpl.java
...service/impl/WxXcxAnalysisGetWeeklyRetainServiceImpl.java
+39
-0
WxXcxAnalysisGetDailySummaryService.java
.../summary/service/WxXcxAnalysisGetDailySummaryService.java
+22
-0
WxXcxAnalysisGetDailySummaryServiceImpl.java
...service/impl/WxXcxAnalysisGetDailySummaryServiceImpl.java
+39
-0
WxXcxAnalysisGetDailyVisitTrendService.java
...trend/service/WxXcxAnalysisGetDailyVisitTrendService.java
+22
-0
WxXcxAnalysisGetMonthlyVisitTrendService.java
...end/service/WxXcxAnalysisGetMonthlyVisitTrendService.java
+22
-0
WxXcxAnalysisGetWeeklyVisitTrendService.java
...rend/service/WxXcxAnalysisGetWeeklyVisitTrendService.java
+22
-0
WxXcxAnalysisGetDailyVisitTrendServiceImpl.java
...vice/impl/WxXcxAnalysisGetDailyVisitTrendServiceImpl.java
+39
-0
WxXcxAnalysisGetMonthlyVisitTrendServiceImpl.java
...ce/impl/WxXcxAnalysisGetMonthlyVisitTrendServiceImpl.java
+39
-0
WxXcxAnalysisGetWeeklyVisitTrendServiceImpl.java
...ice/impl/WxXcxAnalysisGetWeeklyVisitTrendServiceImpl.java
+39
-0
WxXcxAuthCode2SessionRequest.java
...oguang/wxxcx/auth/login/WxXcxAuthCode2SessionRequest.java
+2
-2
WxXcxAuthCode2SessionRes.java
...anzuoguang/wxxcx/auth/login/WxXcxAuthCode2SessionRes.java
+1
-1
WxXcxAuthCode2SessionService.java
...xxcx/auth/login/service/WxXcxAuthCode2SessionService.java
+22
-0
WxXcxAuthCode2SessionServiceImpl.java
.../login/service/impl/WxXcxAuthCode2SessionServiceImpl.java
+39
-0
WxXcxAuthGetAccessTokenService.java
...cx/auth/token/service/WxXcxAuthGetAccessTokenService.java
+20
-0
WxXcxAuthGetAccessTokenServiceImpl.java
...oken/service/impl/WxXcxAuthGetAccessTokenServiceImpl.java
+37
-0
WxXcxAuthGetPluginOpenPidRequest.java
...ang/wxxcx/auth/user/WxXcxAuthGetPluginOpenPidRequest.java
+3
-1
WxXcxAuthCheckEncryptedDataService.java
...auth/user/service/WxXcxAuthCheckEncryptedDataService.java
+22
-0
WxXcxAuthGetPaidUnionIdService.java
...xcx/auth/user/service/WxXcxAuthGetPaidUnionIdService.java
+22
-0
WxXcxAuthGetPluginOpenPidService.java
...x/auth/user/service/WxXcxAuthGetPluginOpenPidService.java
+22
-0
WxXcxAuthCheckEncryptedDataServiceImpl.java
.../service/impl/WxXcxAuthCheckEncryptedDataServiceImpl.java
+37
-0
WxXcxAuthGetPaidUnionIdServiceImpl.java
...user/service/impl/WxXcxAuthGetPaidUnionIdServiceImpl.java
+39
-0
WxXcxAuthGetPluginOpenPidServiceImpl.java
...er/service/impl/WxXcxAuthGetPluginOpenPidServiceImpl.java
+39
-0
WxXcxCustomerServiceMessageGetTempMediaRequest.java
...media/WxXcxCustomerServiceMessageGetTempMediaRequest.java
+3
-1
WxXcxCustomerServiceMessageGetTempMediaService.java
...rvice/WxXcxCustomerServiceMessageGetTempMediaService.java
+22
-0
WxXcxCustomerServiceMessageGetTempMediaServiceImpl.java
...l/WxXcxCustomerServiceMessageGetTempMediaServiceImpl.java
+39
-0
WxXcxCustomerServiceMessageSendService.java
.../send/service/WxXcxCustomerServiceMessageSendService.java
+22
-0
WxXcxCustomerServiceMessageSendServiceImpl.java
...vice/impl/WxXcxCustomerServiceMessageSendServiceImpl.java
+39
-0
WxXcxCustomerServiceMessageSetTypingService.java
.../service/WxXcxCustomerServiceMessageSetTypingService.java
+22
-0
WxXcxCustomerServiceMessageSetTypingServiceImpl.java
...impl/WxXcxCustomerServiceMessageSetTypingServiceImpl.java
+39
-0
WxXcxCustomerServiceMessageUploadTempMediaRequest.java
...ia/WxXcxCustomerServiceMessageUploadTempMediaRequest.java
+2
-0
WxXcxCustomerServiceMessageUploadTempMediaRes.java
...pmedia/WxXcxCustomerServiceMessageUploadTempMediaRes.java
+2
-0
WxXcxCustomerServiceMessageUploadTempMediaService.java
...ce/WxXcxCustomerServiceMessageUploadTempMediaService.java
+22
-0
WxXcxCustomerServiceMessageUploadTempMediaServiceImpl.java
...xXcxCustomerServiceMessageUploadTempMediaServiceImpl.java
+39
-0
WxXcxNearbyPoiAddReq.java
...com/yanzuoguang/wxxcx/nearbypoi/WxXcxNearbyPoiAddReq.java
+16
-14
WxXcxNearbyPoiAddRequest.java
...yanzuoguang/wxxcx/nearbypoi/WxXcxNearbyPoiAddRequest.java
+2
-0
WxXcxNearbyPoiAddRes.java
...com/yanzuoguang/wxxcx/nearbypoi/WxXcxNearbyPoiAddRes.java
+2
-0
WxXcxNearbyPoiAddService.java
...ang/wxxcx/nearbypoi/service/WxXcxNearbyPoiAddService.java
+22
-0
WxXcxNearbyPoiDeleteService.java
.../wxxcx/nearbypoi/service/WxXcxNearbyPoiDeleteService.java
+21
-0
WxXcxNearbyPoiGetListService.java
...wxxcx/nearbypoi/service/WxXcxNearbyPoiGetListService.java
+21
-0
WxXcxNearbyPoiSetShowStatusService.java
...nearbypoi/service/WxXcxNearbyPoiSetShowStatusService.java
+22
-0
WxXcxNearbyPoiAddServiceImpl.java
.../nearbypoi/service/impl/WxXcxNearbyPoiAddServiceImpl.java
+39
-0
WxXcxNearbyPoiDeleteServiceImpl.java
...arbypoi/service/impl/WxXcxNearbyPoiDeleteServiceImpl.java
+39
-0
WxXcxNearbyPoiGetListServiceImpl.java
...rbypoi/service/impl/WxXcxNearbyPoiGetListServiceImpl.java
+39
-0
WxXcxNearbyPoiSetShowStatusServiceImpl.java
.../service/impl/WxXcxNearbyPoiSetShowStatusServiceImpl.java
+39
-0
WxXcxOpenApiManageGetRidInfoRequestRes.java
...openapimanage/WxXcxOpenApiManageGetRidInfoRequestRes.java
+2
-0
WxXcxOpenApiManageClearQuotaService.java
...pimanage/service/WxXcxOpenApiManageClearQuotaService.java
+22
-0
WxXcxOpenApiManageGetApiQuotaService.java
...imanage/service/WxXcxOpenApiManageGetApiQuotaService.java
+22
-0
WxXcxOpenApiManageGetRidInfoService.java
...pimanage/service/WxXcxOpenApiManageGetRidInfoService.java
+22
-0
WxXcxOpenApiManageClearQuotaServiceImpl.java
...service/impl/WxXcxOpenApiManageClearQuotaServiceImpl.java
+40
-0
WxXcxOpenApiManageGetApiQuotaServiceImpl.java
...ervice/impl/WxXcxOpenApiManageGetApiQuotaServiceImpl.java
+39
-0
WxXcxOpenApiManageGetRidInfoServiceImpl.java
...service/impl/WxXcxOpenApiManageGetRidInfoServiceImpl.java
+39
-0
WxXcxPluginManagerApplyPluginService.java
...manager/service/WxXcxPluginManagerApplyPluginService.java
+22
-0
WxXcxPluginManagerGetPluginListService.java
...nager/service/WxXcxPluginManagerGetPluginListService.java
+22
-0
WxXcxPluginManagerSetDevPluginApplyStatusService.java
...ice/WxXcxPluginManagerSetDevPluginApplyStatusService.java
+22
-0
WxXcxPluginManagerUnbindPluginService.java
...anager/service/WxXcxPluginManagerUnbindPluginService.java
+22
-0
WxXxcPluginManagerGetPluginDevApplyListService.java
...rvice/WxXxcPluginManagerGetPluginDevApplyListService.java
+22
-0
WxXcxPluginManagerApplyPluginServiceImpl.java
...ervice/impl/WxXcxPluginManagerApplyPluginServiceImpl.java
+39
-0
WxXcxPluginManagerGetPluginListServiceImpl.java
...vice/impl/WxXcxPluginManagerGetPluginListServiceImpl.java
+39
-0
WxXcxPluginManagerSetDevPluginApplyStatusServiceImpl.java
...WxXcxPluginManagerSetDevPluginApplyStatusServiceImpl.java
+39
-0
WxXcxPluginManagerUnbindPluginServiceImpl.java
...rvice/impl/WxXcxPluginManagerUnbindPluginServiceImpl.java
+39
-0
WxXxcPluginManagerGetPluginDevApplyListServiceImpl.java
...l/WxXxcPluginManagerGetPluginDevApplyListServiceImpl.java
+40
-0
WxXcxRedPacketCoverGetAuthenticationUrlService.java
...rvice/WxXcxRedPacketCoverGetAuthenticationUrlService.java
+22
-0
WxXcxRedPacketCoverGetAuthenticationUrlServiceImpl.java
...l/WxXcxRedPacketCoverGetAuthenticationUrlServiceImpl.java
+39
-0
WxXcxSecurityMediaCheckAsyncService.java
...security/service/WxXcxSecurityMediaCheckAsyncService.java
+22
-0
WxXcxSecurityMsgSecCheckService.java
...xcx/security/service/WxXcxSecurityMsgSecCheckService.java
+22
-0
WxXcxSecurityMediaCheckAsyncServiceImpl.java
...service/impl/WxXcxSecurityMediaCheckAsyncServiceImpl.java
+39
-0
WxXcxSecurityMsgSecCheckServiceImpl.java
...ity/service/impl/WxXcxSecurityMsgSecCheckServiceImpl.java
+39
-0
WxXcxAuthLogin.java
...main/java/com/yanzuoguang/wxxcx/start/WxXcxAuthLogin.java
+2
-2
WxXcxAuthLoginImpl.java
.../com/yanzuoguang/wxxcx/start/impl/WxXcxAuthLoginImpl.java
+2
-2
WxXcxUniformMessageSendService.java
...niformmessage/service/WxXcxUniformMessageSendService.java
+22
-0
WxXcxUniformMessageSendServiceImpl.java
...sage/service/impl/WxXcxUniformMessageSendServiceImpl.java
+39
-0
WxXcxUpdatableMessageCreateActivityIdRequest.java
...message/WxXcxUpdatableMessageCreateActivityIdRequest.java
+3
-1
WxXcxUpdatableMessageCreateActivityIdService.java
...service/WxXcxUpdatableMessageCreateActivityIdService.java
+22
-0
WxXcxUpdatableMessageSetUpdatableMsgService.java
.../service/WxXcxUpdatableMessageSetUpdatableMsgService.java
+22
-0
WxXcxUpdatableMessageCreateActivityIdServiceImpl.java
...mpl/WxXcxUpdatableMessageCreateActivityIdServiceImpl.java
+40
-0
WxXcxUpdatableMessageSetUpdatableMsgServiceImpl.java
...impl/WxXcxUpdatableMessageSetUpdatableMsgServiceImpl.java
+39
-0
WxXcxUrlLinkGenerateService.java
...ng/wxxcx/urllink/service/WxXcxUrlLinkGenerateService.java
+22
-0
WxXcxUrlLinkQueryService.java
...guang/wxxcx/urllink/service/WxXcxUrlLinkQueryService.java
+22
-0
WxXcxUrlLinkGenerateServiceImpl.java
...urllink/service/impl/WxXcxUrlLinkGenerateServiceImpl.java
+39
-0
WxXcxUrlLinkQueryServiceImpl.java
...cx/urllink/service/impl/WxXcxUrlLinkQueryServiceImpl.java
+39
-0
WxXcxUrlSchemeGenerateNfcService.java
...x/urlscheme/service/WxXcxUrlSchemeGenerateNfcService.java
+22
-0
WxXcxUrlSchemeGenerateService.java
...xxcx/urlscheme/service/WxXcxUrlSchemeGenerateService.java
+22
-0
WxXcxUrlSchemeQueryService.java
...g/wxxcx/urlscheme/service/WxXcxUrlSchemeQueryService.java
+23
-0
WxXcxUrlSchemeGenerateNfcServiceImpl.java
...me/service/impl/WxXcxUrlSchemeGenerateNfcServiceImpl.java
+39
-0
WxXcxUrlSchemeGenerateServiceImpl.java
...cheme/service/impl/WxXcxUrlSchemeGenerateServiceImpl.java
+37
-0
WxXcxUrlSchemeQueryServiceImpl.java
...rlscheme/service/impl/WxXcxUrlSchemeQueryServiceImpl.java
+39
-0
WxXcxWxaCodeCreateQrCodeService.java
...xxcx/wxacode/service/WxXcxWxaCodeCreateQrCodeService.java
+22
-0
WxXcxWxaCodeGetService.java
...uoguang/wxxcx/wxacode/service/WxXcxWxaCodeGetService.java
+22
-0
WxXcxWxaCodeGetUnlimitedService.java
...xxcx/wxacode/service/WxXcxWxaCodeGetUnlimitedService.java
+22
-0
WxXcxWxaCodeCreateQrCodeServiceImpl.java
...ode/service/impl/WxXcxWxaCodeCreateQrCodeServiceImpl.java
+39
-0
WxXcxWxaCodeGetServiceImpl.java
...xxcx/wxacode/service/impl/WxXcxWxaCodeGetServiceImpl.java
+39
-0
WxXcxWxaCodeGetUnlimitedServiceImpl.java
...ode/service/impl/WxXcxWxaCodeGetUnlimitedServiceImpl.java
+39
-0
No files found.
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/data/service/WxXcxAnalysisGetPerformanceDataService.java
View file @
7ab504bc
...
...
@@ -5,7 +5,7 @@ import com.yanzuoguang.wxxcx.analysis.data.WxXcxAnalysisGetPerformanceDataRes;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
/**
* 获取小程序启动性能,运行性能等数据
service
* 获取小程序启动性能,运行性能等数据
接口
*
* @author 李贤军
*/
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/data/service/WxXcxAnalysisGetPerformanceDataServiceImpl.java
→
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/data/service/
impl/
WxXcxAnalysisGetPerformanceDataServiceImpl.java
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
data
.
service
;
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
data
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.analysis.data.WxXcxAnalysisGetPerformanceDataReq
;
import
com.yanzuoguang.wxxcx.analysis.data.WxXcxAnalysisGetPerformanceDataRequest
;
import
com.yanzuoguang.wxxcx.analysis.data.WxXcxAnalysisGetPerformanceDataRes
;
import
com.yanzuoguang.wxxcx.analysis.data.service.WxXcxAnalysisGetPerformanceDataService
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
org.springframework.stereotype.Component
;
/**
* 获取小程序启动性能,运行性能等数据
serviceImpl
* 获取小程序启动性能,运行性能等数据
实现
*
* @author 李贤军
*/
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/distribution/service/WxXcxAnalysisGetVisitDistributionService.java
View file @
7ab504bc
...
...
@@ -5,6 +5,8 @@ import com.yanzuoguang.wxxcx.analysis.distribution.WxXcxAnalysisGetVisitDistribu
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
/**
* 获取用户小程序访问分布数据 接口
*
* @author 李贤军
*/
public
interface
WxXcxAnalysisGetVisitDistributionService
{
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/distribution/service/impl/WxXcxAnalysisGetVisitDistributionServiceImpl.java
View file @
7ab504bc
...
...
@@ -10,6 +10,8 @@ import com.yanzuoguang.wxxcx.base.WxXcxRequest;
import
org.springframework.stereotype.Component
;
/**
* 获取用户小程序访问分布数据 实现
*
* @author 李贤军
*/
@Component
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/page/service/WxXcxAnalysisGetVisitPageService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
page
.
service
;
import
com.yanzuoguang.wxxcx.analysis.page.WxXcxAnalysisGetVisitPageReq
;
import
com.yanzuoguang.wxxcx.analysis.page.WxXcxAnalysisGetVisitPageRes
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
/**
* 访问页面 接口
* 目前只提供按 page_visit_pv 排序的 top200
*
* @author 李贤军
*/
public
interface
WxXcxAnalysisGetVisitPageService
{
/**
* 访问页面
*
* @param accessToken accessToken
* @param req 入参
* @return 访问页面返回
*/
WxXcxAnalysisGetVisitPageRes
getAnalysisGetVisitPage
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetVisitPageReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/page/service/impl/WxXcxAnalysisGetVisitPageServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
page
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.analysis.page.WxXcxAnalysisGetVisitPageReq
;
import
com.yanzuoguang.wxxcx.analysis.page.WxXcxAnalysisGetVisitPageRequest
;
import
com.yanzuoguang.wxxcx.analysis.page.WxXcxAnalysisGetVisitPageRes
;
import
com.yanzuoguang.wxxcx.analysis.page.service.WxXcxAnalysisGetVisitPageService
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
org.springframework.stereotype.Component
;
/**
* 访问页面 实现
* 目前只提供按 page_visit_pv 排序的 top200
*
* @author 李贤军
*/
@Component
public
class
WxXcxAnalysisGetVisitPageServiceImpl
implements
WxXcxAnalysisGetVisitPageService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxAnalysisGetVisitPageServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 访问页面
*
* @param accessToken accessToken
* @param req 入参
* @return 访问页面返回
*/
@Override
public
WxXcxAnalysisGetVisitPageRes
getAnalysisGetVisitPage
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetVisitPageReq
req
)
{
WxXcxAnalysisGetVisitPageRequest
request
=
new
WxXcxAnalysisGetVisitPageRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/portrait/service/WxXcxAnalysisGetUserPortraitService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
portrait
.
service
;
import
com.yanzuoguang.wxxcx.analysis.portrait.WxXcxAnalysisGetUserPortraitReq
;
import
com.yanzuoguang.wxxcx.analysis.portrait.WxXcxAnalysisGetUserPortraitRes
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
/**
* 获取小程序新增或活跃用户的画像分布数据 接口
* 时间范围支持昨天、最近7天、最近30天。其中,新增用户数为时间范围内首次访问小程序的去重用户数,活跃用户数为时间范围内访问过小程序的去重用户数。
*
* @author 李贤军
*/
public
interface
WxXcxAnalysisGetUserPortraitService
{
/**
* 获取小程序新增或活跃用户的画像分布数据
*
* @param accessToken accessToken
* @param req 获取小程序新增或活跃用户的画像分布数据入参
* @return 获取小程序新增或活跃用户的画像分布数据返回
*/
WxXcxAnalysisGetUserPortraitRes
getAnalysisGetUserPortrait
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetUserPortraitReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/portrait/service/impl/WxXcxAnalysisGetUserPortraitServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
portrait
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.analysis.portrait.WxXcxAnalysisGetUserPortraitReq
;
import
com.yanzuoguang.wxxcx.analysis.portrait.WxXcxAnalysisGetUserPortraitRequest
;
import
com.yanzuoguang.wxxcx.analysis.portrait.WxXcxAnalysisGetUserPortraitRes
;
import
com.yanzuoguang.wxxcx.analysis.portrait.service.WxXcxAnalysisGetUserPortraitService
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
/**
* 获取小程序新增或活跃用户的画像分布数据 实现
* 时间范围支持昨天、最近7天、最近30天。其中,新增用户数为时间范围内首次访问小程序的去重用户数,活跃用户数为时间范围内访问过小程序的去重用户数。
*
* @author 李贤军
*/
public
class
WxXcxAnalysisGetUserPortraitServiceImpl
implements
WxXcxAnalysisGetUserPortraitService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxAnalysisGetUserPortraitServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取小程序新增或活跃用户的画像分布数据
*
* @param accessToken accessToken
* @param req 获取小程序新增或活跃用户的画像分布数据入参
* @return 获取小程序新增或活跃用户的画像分布数据返回
*/
@Override
public
WxXcxAnalysisGetUserPortraitRes
getAnalysisGetUserPortrait
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetUserPortraitReq
req
)
{
WxXcxAnalysisGetUserPortraitRequest
request
=
new
WxXcxAnalysisGetUserPortraitRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/retain/service/WxXcxAnalysisGetDailyRetainService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
retain
.
service
;
import
com.yanzuoguang.wxxcx.analysis.retain.WxXcxAnalysisGetDailyRetainReq
;
import
com.yanzuoguang.wxxcx.analysis.retain.WxXcxAnalysisGetDailyRetainRes
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
/**
* 获取用户访问小程序日留存 接口
*
* @author 李贤军
*/
public
interface
WxXcxAnalysisGetDailyRetainService
{
/**
* 获取用户访问小程序日留存
*
* @param accessToken accessToken
* @param req 获取用户访问小程序日留存入参
* @return 获取用户访问小程序日留存 返回
*/
WxXcxAnalysisGetDailyRetainRes
getAnalysisGetDailyRetain
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetDailyRetainReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/retain/service/WxXcxAnalysisGetMonthlyRetainService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
retain
.
service
;
import
com.yanzuoguang.wxxcx.analysis.retain.WxXcxAnalysisGetMonthlyRetainReq
;
import
com.yanzuoguang.wxxcx.analysis.retain.WxXcxAnalysisGetMonthlyRetainRes
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
/**
* 获取用户访问小程序月留存 接口
*
* @author 李贤军
*/
public
interface
WxXcxAnalysisGetMonthlyRetainService
{
/**
* 获取用户访问小程序月留存
*
* @param accessToken accessToken
* @param req 获取用户访问小程序月留存入参
* @return 获取用户访问小程序月留存返回
*/
WxXcxAnalysisGetMonthlyRetainRes
getAnalysisGetMonthlyRetain
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetMonthlyRetainReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/retain/service/WxXcxAnalysisGetWeeklyRetainService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
retain
.
service
;
import
com.yanzuoguang.wxxcx.analysis.retain.WxXcxAnalysisGetWeeklyRetainReq
;
import
com.yanzuoguang.wxxcx.analysis.retain.WxXcxAnalysisGetWeeklyRetainRes
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
/**
* 获取用户访问小程序周留存 接口
*
* @author 李贤军
*/
public
interface
WxXcxAnalysisGetWeeklyRetainService
{
/**
* 获取用户访问小程序周留存
*
* @param accessToken accessToken
* @param req 获取用户访问小程序周留存请求
* @return 获取用户访问小程序周留存响应
*/
WxXcxAnalysisGetWeeklyRetainRes
getAnalysisGetWeeklyRetain
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetWeeklyRetainReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/retain/service/impl/WxXcxAnalysisGetDailyRetainServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
retain
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.analysis.retain.WxXcxAnalysisGetDailyRetainReq
;
import
com.yanzuoguang.wxxcx.analysis.retain.WxXcxAnalysisGetDailyRetainRequest
;
import
com.yanzuoguang.wxxcx.analysis.retain.WxXcxAnalysisGetDailyRetainRes
;
import
com.yanzuoguang.wxxcx.analysis.retain.service.WxXcxAnalysisGetDailyRetainService
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
org.springframework.stereotype.Component
;
/**
* 获取用户访问小程序日留存 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxAnalysisGetDailyRetainServiceImpl
implements
WxXcxAnalysisGetDailyRetainService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxAnalysisGetDailyRetainServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取用户访问小程序日留存
*
* @param accessToken accessToken
* @param req 获取用户访问小程序日留存入参
* @return 获取用户访问小程序日留存返回
*/
@Override
public
WxXcxAnalysisGetDailyRetainRes
getAnalysisGetDailyRetain
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetDailyRetainReq
req
)
{
WxXcxAnalysisGetDailyRetainRequest
request
=
new
WxXcxAnalysisGetDailyRetainRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/retain/service/impl/WxXcxAnalysisGetMonthlyRetainServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
retain
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.analysis.retain.WxXcxAnalysisGetMonthlyRetainReq
;
import
com.yanzuoguang.wxxcx.analysis.retain.WxXcxAnalysisGetMonthlyRetainRequest
;
import
com.yanzuoguang.wxxcx.analysis.retain.WxXcxAnalysisGetMonthlyRetainRes
;
import
com.yanzuoguang.wxxcx.analysis.retain.service.WxXcxAnalysisGetMonthlyRetainService
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
org.springframework.stereotype.Component
;
/**
* 获取用户访问小程序月留存 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxAnalysisGetMonthlyRetainServiceImpl
implements
WxXcxAnalysisGetMonthlyRetainService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxAnalysisGetMonthlyRetainServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取用户访问小程序月留存
*
* @param accessToken accessToken
* @param req 获取用户访问小程序月留存入参
* @return 获取用户访问小程序月留存 返回
*/
@Override
public
WxXcxAnalysisGetMonthlyRetainRes
getAnalysisGetMonthlyRetain
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetMonthlyRetainReq
req
)
{
WxXcxAnalysisGetMonthlyRetainRequest
request
=
new
WxXcxAnalysisGetMonthlyRetainRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/retain/service/impl/WxXcxAnalysisGetWeeklyRetainServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
retain
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.analysis.retain.WxXcxAnalysisGetWeeklyRetainReq
;
import
com.yanzuoguang.wxxcx.analysis.retain.WxXcxAnalysisGetWeeklyRetainRequest
;
import
com.yanzuoguang.wxxcx.analysis.retain.WxXcxAnalysisGetWeeklyRetainRes
;
import
com.yanzuoguang.wxxcx.analysis.retain.service.WxXcxAnalysisGetWeeklyRetainService
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
org.springframework.stereotype.Component
;
/**
* 获取用户访问小程序周留存 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxAnalysisGetWeeklyRetainServiceImpl
implements
WxXcxAnalysisGetWeeklyRetainService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxAnalysisGetWeeklyRetainServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取用户访问小程序周留存请求
*
* @param accessToken accessToken
* @param req 获取用户访问小程序周留存请求
* @return 获取用户访问小程序周留存请求返回
*/
@Override
public
WxXcxAnalysisGetWeeklyRetainRes
getAnalysisGetWeeklyRetain
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetWeeklyRetainReq
req
)
{
WxXcxAnalysisGetWeeklyRetainRequest
request
=
new
WxXcxAnalysisGetWeeklyRetainRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/summary/service/WxXcxAnalysisGetDailySummaryService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
summary
.
service
;
import
com.yanzuoguang.wxxcx.analysis.summary.WxXcxAnalysisGetDailySummaryReq
;
import
com.yanzuoguang.wxxcx.analysis.summary.WxXcxAnalysisGetDailySummaryRes
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
/**
* 获取用户访问小程序数据概况 接口
*
* @author 李贤军
*/
public
interface
WxXcxAnalysisGetDailySummaryService
{
/**
* 获取用户访问小程序数据概况
*
* @param accessToken accessToken
* @param req 获取用户访问小程序数据概况入参
* @return 获取用户访问小程序数据概况返回
*/
WxXcxAnalysisGetDailySummaryRes
getAnalysisGetDailySummary
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetDailySummaryReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/summary/service/impl/WxXcxAnalysisGetDailySummaryServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
summary
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.analysis.summary.WxXcxAnalysisGetDailySummaryReq
;
import
com.yanzuoguang.wxxcx.analysis.summary.WxXcxAnalysisGetDailySummaryRequest
;
import
com.yanzuoguang.wxxcx.analysis.summary.WxXcxAnalysisGetDailySummaryRes
;
import
com.yanzuoguang.wxxcx.analysis.summary.service.WxXcxAnalysisGetDailySummaryService
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
org.springframework.stereotype.Component
;
/**
* 获取用户访问小程序数据概况 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxAnalysisGetDailySummaryServiceImpl
implements
WxXcxAnalysisGetDailySummaryService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxAnalysisGetDailySummaryServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取用户访问小程序数据概况
*
* @param accessToken accessToken
* @param req 获取用户访问小程序数据概况入参
* @return 获取用户访问小程序数据概况返回
*/
@Override
public
WxXcxAnalysisGetDailySummaryRes
getAnalysisGetDailySummary
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetDailySummaryReq
req
)
{
WxXcxAnalysisGetDailySummaryRequest
request
=
new
WxXcxAnalysisGetDailySummaryRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/trend/service/WxXcxAnalysisGetDailyVisitTrendService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
trend
.
service
;
import
com.yanzuoguang.wxxcx.analysis.trend.WxXcxAnalysisGetDailyVisitTrendReq
;
import
com.yanzuoguang.wxxcx.analysis.trend.WxXcxAnalysisGetDailyVisitTrendRes
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
/**
* 获取用户访问小程序数据日趋势 接口
*
* @author 李贤军
*/
public
interface
WxXcxAnalysisGetDailyVisitTrendService
{
/**
* 获取用户访问小程序数据日趋势
*
* @param accessToken accessToken
* @param req 获取用户访问小程序数据日趋势入参
* @return 获取用户访问小程序数据日趋势 返回
*/
WxXcxAnalysisGetDailyVisitTrendRes
getAnalysisGetDailyVisitTrend
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetDailyVisitTrendReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/trend/service/WxXcxAnalysisGetMonthlyVisitTrendService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
trend
.
service
;
import
com.yanzuoguang.wxxcx.analysis.trend.WxXcxAnalysisGetMonthlyVisitTrendReq
;
import
com.yanzuoguang.wxxcx.analysis.trend.WxXcxAnalysisGetMonthlyVisitTrendRes
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
/**
* 获取用户访问小程序数据月趋势 接口
*
* @author 李贤军
*/
public
interface
WxXcxAnalysisGetMonthlyVisitTrendService
{
/**
* 获取用户访问小程序数据月趋势
*
* @param accessToken accessToken
* @param req 获取用户访问小程序数据月趋势 入参
* @return 获取用户访问小程序数据月趋势 返回
*/
WxXcxAnalysisGetMonthlyVisitTrendRes
getAnalysisGetMonthlyVisitTrend
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetMonthlyVisitTrendReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/trend/service/WxXcxAnalysisGetWeeklyVisitTrendService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
trend
.
service
;
import
com.yanzuoguang.wxxcx.analysis.trend.WxXcxAnalysisGetWeeklyVisitTrendReq
;
import
com.yanzuoguang.wxxcx.analysis.trend.WxXcxAnalysisGetWeeklyVisitTrendRes
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
/**
* 获取用户访问小程序数据周趋势 接口
*
* @author 李贤军
*/
public
interface
WxXcxAnalysisGetWeeklyVisitTrendService
{
/**
* 获取用户访问小程序数据周趋势
*
* @param accessToken accessToken
* @param req 获取用户访问小程序数据周趋势 入参
* @return 获取用户访问小程序数据周趋势返回
*/
WxXcxAnalysisGetWeeklyVisitTrendRes
getAnalysisGetWeeklyVisitTrend
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetWeeklyVisitTrendReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/trend/service/impl/WxXcxAnalysisGetDailyVisitTrendServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
trend
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.analysis.trend.WxXcxAnalysisGetDailyVisitTrendReq
;
import
com.yanzuoguang.wxxcx.analysis.trend.WxXcxAnalysisGetDailyVisitTrendRequest
;
import
com.yanzuoguang.wxxcx.analysis.trend.WxXcxAnalysisGetDailyVisitTrendRes
;
import
com.yanzuoguang.wxxcx.analysis.trend.service.WxXcxAnalysisGetDailyVisitTrendService
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
org.springframework.stereotype.Component
;
/**
* 获取用户访问小程序数据日趋势 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxAnalysisGetDailyVisitTrendServiceImpl
implements
WxXcxAnalysisGetDailyVisitTrendService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxAnalysisGetDailyVisitTrendServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取用户访问小程序数据日趋势
*
* @param accessToken accessToken
* @param req 获取用户访问小程序数据日趋势 入参
* @return 获取用户访问小程序数据日趋势返回
*/
@Override
public
WxXcxAnalysisGetDailyVisitTrendRes
getAnalysisGetDailyVisitTrend
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetDailyVisitTrendReq
req
)
{
WxXcxAnalysisGetDailyVisitTrendRequest
request
=
new
WxXcxAnalysisGetDailyVisitTrendRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/trend/service/impl/WxXcxAnalysisGetMonthlyVisitTrendServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
trend
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.analysis.trend.WxXcxAnalysisGetMonthlyVisitTrendReq
;
import
com.yanzuoguang.wxxcx.analysis.trend.WxXcxAnalysisGetMonthlyVisitTrendRequest
;
import
com.yanzuoguang.wxxcx.analysis.trend.WxXcxAnalysisGetMonthlyVisitTrendRes
;
import
com.yanzuoguang.wxxcx.analysis.trend.service.WxXcxAnalysisGetMonthlyVisitTrendService
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
org.springframework.stereotype.Component
;
/**
* 获取用户访问小程序数据月趋势 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxAnalysisGetMonthlyVisitTrendServiceImpl
implements
WxXcxAnalysisGetMonthlyVisitTrendService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxAnalysisGetMonthlyVisitTrendServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取用户访问小程序数据月趋势
*
* @param accessToken accessToken
* @param req 获取用户访问小程序数据月趋势 入参
* @return 获取用户访问小程序数据月趋势返回
*/
@Override
public
WxXcxAnalysisGetMonthlyVisitTrendRes
getAnalysisGetMonthlyVisitTrend
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetMonthlyVisitTrendReq
req
)
{
WxXcxAnalysisGetMonthlyVisitTrendRequest
request
=
new
WxXcxAnalysisGetMonthlyVisitTrendRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/analysis/trend/service/impl/WxXcxAnalysisGetWeeklyVisitTrendServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
analysis
.
trend
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.analysis.trend.WxXcxAnalysisGetWeeklyVisitTrendReq
;
import
com.yanzuoguang.wxxcx.analysis.trend.WxXcxAnalysisGetWeeklyVisitTrendRequest
;
import
com.yanzuoguang.wxxcx.analysis.trend.WxXcxAnalysisGetWeeklyVisitTrendRes
;
import
com.yanzuoguang.wxxcx.analysis.trend.service.WxXcxAnalysisGetWeeklyVisitTrendService
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
org.springframework.stereotype.Component
;
/**
* 获取用户访问小程序数据周趋势 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxAnalysisGetWeeklyVisitTrendServiceImpl
implements
WxXcxAnalysisGetWeeklyVisitTrendService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxAnalysisGetWeeklyVisitTrendServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取用户访问小程序数据周趋势
*
* @param accessToken accessToken
* @param req 获取用户访问小程序数据周趋势 入参
* @return 获取用户访问小程序数据周趋势 返回
*/
@Override
public
WxXcxAnalysisGetWeeklyVisitTrendRes
getAnalysisGetWeeklyVisitTrend
(
WxXcxAccessToken
accessToken
,
WxXcxAnalysisGetWeeklyVisitTrendReq
req
)
{
WxXcxAnalysisGetWeeklyVisitTrendRequest
request
=
new
WxXcxAnalysisGetWeeklyVisitTrendRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/auth/login/WxXcxAuthCode2SessionRequest.java
View file @
7ab504bc
...
...
@@ -32,11 +32,11 @@ public class WxXcxAuthCode2SessionRequest implements WxXcxRequestUrl, WxXcxReque
return
HttpHelper
.
getUrlParameter
(
req
);
}
public
WxXcx
Response
AuthCode2SessionRes
getResponse
()
{
public
WxXcxAuthCode2SessionRes
getResponse
()
{
// todo: 检测参数是否合法
// Assert.assertEquals();
return
this
.
wxXcxRequest
.
request
(
this
,
response
->
{
WxXcx
ResponseAuthCode2SessionRes
ret
=
JsonHelper
.
deserialize
(
response
,
new
TypeReference
<
WxXcxResponse
AuthCode2SessionRes
>()
{
WxXcx
AuthCode2SessionRes
ret
=
JsonHelper
.
deserialize
(
response
,
new
TypeReference
<
WxXcx
AuthCode2SessionRes
>()
{
});
WxXcxAssert
.
assertBaseError
(
ret
);
return
ret
;
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/auth/login/WxXcx
Response
AuthCode2SessionRes.java
→
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/auth/login/WxXcxAuthCode2SessionRes.java
View file @
7ab504bc
...
...
@@ -7,7 +7,7 @@ import com.yanzuoguang.wxxcx.base.WxXcxResponseBaseError;
*
* @author 李贤军
*/
public
class
WxXcx
Response
AuthCode2SessionRes
extends
WxXcxResponseBaseError
{
public
class
WxXcxAuthCode2SessionRes
extends
WxXcxResponseBaseError
{
/**
* 用户唯一标识
*/
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/auth/login/service/WxXcxAuthCode2SessionService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
auth
.
login
.
service
;
import
com.yanzuoguang.wxxcx.auth.login.WxXcxAuthCode2SessionReq
;
import
com.yanzuoguang.wxxcx.auth.login.WxXcxAuthCode2SessionRes
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
/**
* 登录凭证校验参数 接口
*
* @author 李贤军
*/
public
interface
WxXcxAuthCode2SessionService
{
/**
* 登录凭证校验参数
*
* @param accessToken accessToken
* @param req 登录凭证校验参数 入参
* @return 登录凭证校验参数 返回
*/
WxXcxAuthCode2SessionRes
getAuthCode2Session
(
WxXcxAccessToken
accessToken
,
WxXcxAuthCode2SessionReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/auth/login/service/impl/WxXcxAuthCode2SessionServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
auth
.
login
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.auth.login.WxXcxAuthCode2SessionReq
;
import
com.yanzuoguang.wxxcx.auth.login.WxXcxAuthCode2SessionRequest
;
import
com.yanzuoguang.wxxcx.auth.login.WxXcxAuthCode2SessionRes
;
import
com.yanzuoguang.wxxcx.auth.login.service.WxXcxAuthCode2SessionService
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
org.springframework.stereotype.Component
;
/**
* 登录凭证校验参数 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxAuthCode2SessionServiceImpl
implements
WxXcxAuthCode2SessionService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxAuthCode2SessionServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 登录凭证校验参数
*
* @param accessToken accessToken
* @param req 登录凭证校验参数 入参
* @return 登录凭证校验参数返回
*/
@Override
public
WxXcxAuthCode2SessionRes
getAuthCode2Session
(
WxXcxAccessToken
accessToken
,
WxXcxAuthCode2SessionReq
req
)
{
WxXcxAuthCode2SessionRequest
request
=
new
WxXcxAuthCode2SessionRequest
(
wxXcxConfig
,
wxXcxRequest
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/auth/token/service/WxXcxAuthGetAccessTokenService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
auth
.
token
.
service
;
import
com.yanzuoguang.wxxcx.auth.token.WxXcxAuthGetAccessTokenReq
;
import
com.yanzuoguang.wxxcx.auth.token.WxXcxAuthGetAccessTokenRes
;
/**
* 获取小程序全局唯一后台接口调用凭据 接口
*
* @author 李贤军
*/
public
interface
WxXcxAuthGetAccessTokenService
{
/**
* 获取小程序全局唯一后台接口调用凭据
*
* @param req 获取小程序全局唯一后台接口调用凭据 入参
* @return 获取小程序全局唯一后台接口调用凭据 返回
*/
WxXcxAuthGetAccessTokenRes
getAuthGetAccessToken
(
WxXcxAuthGetAccessTokenReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/auth/token/service/impl/WxXcxAuthGetAccessTokenServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
auth
.
token
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.auth.token.WxXcxAuthGetAccessTokenReq
;
import
com.yanzuoguang.wxxcx.auth.token.WxXcxAuthGetAccessTokenRequest
;
import
com.yanzuoguang.wxxcx.auth.token.WxXcxAuthGetAccessTokenRes
;
import
com.yanzuoguang.wxxcx.auth.token.service.WxXcxAuthGetAccessTokenService
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
org.springframework.stereotype.Component
;
/**
* 获取小程序全局唯一后台接口调用凭据 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxAuthGetAccessTokenServiceImpl
implements
WxXcxAuthGetAccessTokenService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxAuthGetAccessTokenServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取小程序全局唯一后台接口调用凭据
*
* @param req 获取小程序全局唯一后台接口调用凭据 入参
* @return 获取小程序全局唯一后台接口调用凭据 返回
*/
@Override
public
WxXcxAuthGetAccessTokenRes
getAuthGetAccessToken
(
WxXcxAuthGetAccessTokenReq
req
)
{
WxXcxAuthGetAccessTokenRequest
request
=
new
WxXcxAuthGetAccessTokenRequest
(
wxXcxConfig
,
wxXcxRequest
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/auth/user/WxXcxAuthGetPluginOpenPidRequest.java
View file @
7ab504bc
...
...
@@ -14,11 +14,13 @@ public class WxXcxAuthGetPluginOpenPidRequest implements WxXcxRequestUrl, WxXcxR
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
private
final
WxXcxAccessToken
accessToken
;
private
final
WxXcxAuthGetPluginOpenPidReq
req
;
public
WxXcxAuthGetPluginOpenPidRequest
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
,
WxXcxAuthGetPluginOpenPidReq
req
)
{
public
WxXcxAuthGetPluginOpenPidRequest
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
,
WxXcxA
ccessToken
accessToken
,
WxXcxA
uthGetPluginOpenPidReq
req
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
this
.
accessToken
=
accessToken
;
this
.
req
=
req
;
}
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/auth/user/service/WxXcxAuthCheckEncryptedDataService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
auth
.
user
.
service
;
import
com.yanzuoguang.wxxcx.auth.user.WxXcxAuthCheckEncryptedDataReq
;
import
com.yanzuoguang.wxxcx.auth.user.WxXcxAuthCheckEncryptedDataRes
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
/**
* 检查加密信息是否由微信生成 接口
*
* @author 李贤军
*/
public
interface
WxXcxAuthCheckEncryptedDataService
{
/**
* 检查加密信息是否由微信生成
*
* @param accessToken accessToken
* @param req 检查加密信息是否由微信生成 入参
* @return 检查加密信息是否由微信生成 返回
*/
WxXcxAuthCheckEncryptedDataRes
getAuthCheckEncryptedData
(
WxXcxAccessToken
accessToken
,
WxXcxAuthCheckEncryptedDataReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/auth/user/service/WxXcxAuthGetPaidUnionIdService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
auth
.
user
.
service
;
import
com.yanzuoguang.wxxcx.auth.user.WxXcxAuthGetPaidUnionIdReq
;
import
com.yanzuoguang.wxxcx.auth.user.WxXcxAuthGetPaidUnionIdRes
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
/**
* 用户支付完成后,获取该用户的 UnionId 接口
*
* @author 李贤军
*/
public
interface
WxXcxAuthGetPaidUnionIdService
{
/**
* 用户支付完成后,获取该用户的 UnionId
*
* @param accessToken
* @param req 用户支付完成后,获取该用户的 UnionId 入参
* @return 用户支付完成后,获取该用户的 UnionId 返回
*/
WxXcxAuthGetPaidUnionIdRes
getAuthGetPaidUnionId
(
WxXcxAccessToken
accessToken
,
WxXcxAuthGetPaidUnionIdReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/auth/user/service/WxXcxAuthGetPluginOpenPidService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
auth
.
user
.
service
;
import
com.yanzuoguang.wxxcx.auth.user.WxXcxAuthGetPluginOpenPidReq
;
import
com.yanzuoguang.wxxcx.auth.user.WxXcxAuthGetPluginOpenPidRes
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
/**
* 接口获得插件用户标志凭证 接口
*
* @author 李贤军
*/
public
interface
WxXcxAuthGetPluginOpenPidService
{
/**
* 通过 wx.pluginLogin 接口获得插件用户标志凭证 code 后传到开发者服务器
*
* @param accessToken accessToken
* @param req 接口获得插件用户标志凭证 入参
* @return 接口获得插件用户标志凭证 返回
*/
WxXcxAuthGetPluginOpenPidRes
getAuthGetPluginOpenPId
(
WxXcxAccessToken
accessToken
,
WxXcxAuthGetPluginOpenPidReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/auth/user/service/impl/WxXcxAuthCheckEncryptedDataServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
auth
.
user
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.auth.user.WxXcxAuthCheckEncryptedDataReq
;
import
com.yanzuoguang.wxxcx.auth.user.WxXcxAuthCheckEncryptedDataRequest
;
import
com.yanzuoguang.wxxcx.auth.user.WxXcxAuthCheckEncryptedDataRes
;
import
com.yanzuoguang.wxxcx.auth.user.service.WxXcxAuthCheckEncryptedDataService
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
org.springframework.stereotype.Component
;
/**
* @author 李贤军
*/
@Component
public
class
WxXcxAuthCheckEncryptedDataServiceImpl
implements
WxXcxAuthCheckEncryptedDataService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxAuthCheckEncryptedDataServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 检查加密信息是否由微信生成
*
* @param accessToken accessToken
* @param req 检查加密信息是否由微信生成 入参
* @return 检查加密信息是否由微信生成 返回
*/
@Override
public
WxXcxAuthCheckEncryptedDataRes
getAuthCheckEncryptedData
(
WxXcxAccessToken
accessToken
,
WxXcxAuthCheckEncryptedDataReq
req
)
{
WxXcxAuthCheckEncryptedDataRequest
request
=
new
WxXcxAuthCheckEncryptedDataRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/auth/user/service/impl/WxXcxAuthGetPaidUnionIdServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
auth
.
user
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.auth.user.WxXcxAuthGetPaidUnionIdReq
;
import
com.yanzuoguang.wxxcx.auth.user.WxXcxAuthGetPaidUnionIdRequest
;
import
com.yanzuoguang.wxxcx.auth.user.WxXcxAuthGetPaidUnionIdRes
;
import
com.yanzuoguang.wxxcx.auth.user.service.WxXcxAuthGetPaidUnionIdService
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
org.springframework.stereotype.Component
;
/**
* 用户支付完成后,获取该用户的 UnionId 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxAuthGetPaidUnionIdServiceImpl
implements
WxXcxAuthGetPaidUnionIdService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxAuthGetPaidUnionIdServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 用户支付完成后,获取该用户的 UnionId
*
* @param accessToken
* @param req 用户支付完成后,获取该用户的 UnionId 入参
* @return 用户支付完成后,获取该用户的 UnionId 返回
*/
@Override
public
WxXcxAuthGetPaidUnionIdRes
getAuthGetPaidUnionId
(
WxXcxAccessToken
accessToken
,
WxXcxAuthGetPaidUnionIdReq
req
)
{
WxXcxAuthGetPaidUnionIdRequest
request
=
new
WxXcxAuthGetPaidUnionIdRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/auth/user/service/impl/WxXcxAuthGetPluginOpenPidServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
auth
.
user
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.auth.user.WxXcxAuthGetPluginOpenPidReq
;
import
com.yanzuoguang.wxxcx.auth.user.WxXcxAuthGetPluginOpenPidRequest
;
import
com.yanzuoguang.wxxcx.auth.user.WxXcxAuthGetPluginOpenPidRes
;
import
com.yanzuoguang.wxxcx.auth.user.service.WxXcxAuthGetPluginOpenPidService
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
org.springframework.stereotype.Component
;
/**
* 接口获得插件用户标志凭证 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxAuthGetPluginOpenPidServiceImpl
implements
WxXcxAuthGetPluginOpenPidService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxAuthGetPluginOpenPidServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 接口获得插件用户标志凭证
*
* @param accessToken accessToken
* @param req 接口获得插件用户标志凭证 入参
* @return 接口获得插件用户标志凭证 返回
*/
@Override
public
WxXcxAuthGetPluginOpenPidRes
getAuthGetPluginOpenPId
(
WxXcxAccessToken
accessToken
,
WxXcxAuthGetPluginOpenPidReq
req
)
{
WxXcxAuthGetPluginOpenPidRequest
request
=
new
WxXcxAuthGetPluginOpenPidRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/customerservicemessage/gettempmedia/WxXcxCustomerServiceMessageGetTempMediaRequest.java
View file @
7ab504bc
...
...
@@ -15,11 +15,13 @@ public class WxXcxCustomerServiceMessageGetTempMediaRequest implements WxXcxRequ
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
private
final
WxXcxAccessToken
accessToken
;
private
final
WxXcxCustomerServiceMessageGetTempMediaReq
req
;
public
WxXcxCustomerServiceMessageGetTempMediaRequest
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
,
WxXcxCustomerServiceMessageGetTempMediaReq
req
)
{
public
WxXcxCustomerServiceMessageGetTempMediaRequest
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
,
WxXcx
AccessToken
accessToken
,
WxXcx
CustomerServiceMessageGetTempMediaReq
req
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
this
.
accessToken
=
accessToken
;
this
.
req
=
req
;
}
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/customerservicemessage/gettempmedia/service/WxXcxCustomerServiceMessageGetTempMediaService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
customerservicemessage
.
gettempmedia
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.customerservicemessage.gettempmedia.WxXcxCustomerServiceMessageGetTempMediaReq
;
import
com.yanzuoguang.wxxcx.customerservicemessage.gettempmedia.WxXcxCustomerServiceMessageGetTempMediaRes
;
/**
* 获取客服消息内的临时素材 接口
*
* @author 李贤军
*/
public
interface
WxXcxCustomerServiceMessageGetTempMediaService
{
/**
* 获取客服消息内的临时素材
*
* @param accessToken
* @param req 获取客服消息内的临时素材 入参
* @return 获取客服消息内的临时素材返回
*/
WxXcxCustomerServiceMessageGetTempMediaRes
getCustomerServiceMessageGetTempMedia
(
WxXcxAccessToken
accessToken
,
WxXcxCustomerServiceMessageGetTempMediaReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/customerservicemessage/gettempmedia/service/impl/WxXcxCustomerServiceMessageGetTempMediaServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
customerservicemessage
.
gettempmedia
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.customerservicemessage.gettempmedia.WxXcxCustomerServiceMessageGetTempMediaReq
;
import
com.yanzuoguang.wxxcx.customerservicemessage.gettempmedia.WxXcxCustomerServiceMessageGetTempMediaRequest
;
import
com.yanzuoguang.wxxcx.customerservicemessage.gettempmedia.WxXcxCustomerServiceMessageGetTempMediaRes
;
import
com.yanzuoguang.wxxcx.customerservicemessage.gettempmedia.service.WxXcxCustomerServiceMessageGetTempMediaService
;
import
org.springframework.stereotype.Component
;
/**
* 获取客服消息内的临时素材 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxCustomerServiceMessageGetTempMediaServiceImpl
implements
WxXcxCustomerServiceMessageGetTempMediaService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxCustomerServiceMessageGetTempMediaServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取客服消息内的临时素材
*
* @param accessToken accessToken
* @param req 获取客服消息内的临时素材 入参
* @return 获取客服消息内的临时素材 返回
*/
@Override
public
WxXcxCustomerServiceMessageGetTempMediaRes
getCustomerServiceMessageGetTempMedia
(
WxXcxAccessToken
accessToken
,
WxXcxCustomerServiceMessageGetTempMediaReq
req
)
{
WxXcxCustomerServiceMessageGetTempMediaRequest
request
=
new
WxXcxCustomerServiceMessageGetTempMediaRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/customerservicemessage/send/service/WxXcxCustomerServiceMessageSendService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
customerservicemessage
.
send
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.customerservicemessage.send.WxXcxCustomerServiceMessageSendReq
;
import
com.yanzuoguang.wxxcx.customerservicemessage.send.WxXcxCustomerServiceMessageSendRes
;
/**
* 发送客服消息给用户 接口
*
* @author 李贤军
*/
public
interface
WxXcxCustomerServiceMessageSendService
{
/**
* 发送客服消息给用户
*
* @param accessToken accessToken
* @param req 发送客服消息给用户 入参
* @return 发送客服消息给用户 返回
*/
WxXcxCustomerServiceMessageSendRes
getCustomerServiceMessageSend
(
WxXcxAccessToken
accessToken
,
WxXcxCustomerServiceMessageSendReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/customerservicemessage/send/service/impl/WxXcxCustomerServiceMessageSendServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
customerservicemessage
.
send
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.customerservicemessage.send.WxXcxCustomerServiceMessageSendReq
;
import
com.yanzuoguang.wxxcx.customerservicemessage.send.WxXcxCustomerServiceMessageSendRequest
;
import
com.yanzuoguang.wxxcx.customerservicemessage.send.WxXcxCustomerServiceMessageSendRes
;
import
com.yanzuoguang.wxxcx.customerservicemessage.send.service.WxXcxCustomerServiceMessageSendService
;
import
org.springframework.stereotype.Component
;
/**
* 发送客服消息给用户 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxCustomerServiceMessageSendServiceImpl
implements
WxXcxCustomerServiceMessageSendService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxCustomerServiceMessageSendServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 发送客服消息给用户
*
* @param accessToken accessToken
* @param req 发送客服消息给用户 入参
* @return 发送客服消息给用户 返回
*/
@Override
public
WxXcxCustomerServiceMessageSendRes
getCustomerServiceMessageSend
(
WxXcxAccessToken
accessToken
,
WxXcxCustomerServiceMessageSendReq
req
)
{
WxXcxCustomerServiceMessageSendRequest
request
=
new
WxXcxCustomerServiceMessageSendRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/customerservicemessage/settyping/service/WxXcxCustomerServiceMessageSetTypingService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
customerservicemessage
.
settyping
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.customerservicemessage.settyping.WxXcxCustomerServiceMessageSetTypingReq
;
import
com.yanzuoguang.wxxcx.customerservicemessage.settyping.WxXcxCustomerServiceMessageSetTypingRes
;
/**
* 下发客服当前输入状态给用户 接口
*
* @author 李贤军
*/
public
interface
WxXcxCustomerServiceMessageSetTypingService
{
/**
* 下发客服当前输入状态给用户
*
* @param accessToken accessToken
* @param req 下发客服当前输入状态给用户 入参
* @return 下发客服当前输入状态给用户 返回
*/
WxXcxCustomerServiceMessageSetTypingRes
getCustomerServiceMessageSetTyping
(
WxXcxAccessToken
accessToken
,
WxXcxCustomerServiceMessageSetTypingReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/customerservicemessage/settyping/service/impl/WxXcxCustomerServiceMessageSetTypingServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
customerservicemessage
.
settyping
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.customerservicemessage.settyping.WxXcxCustomerServiceMessageSetTypingReq
;
import
com.yanzuoguang.wxxcx.customerservicemessage.settyping.WxXcxCustomerServiceMessageSetTypingRequest
;
import
com.yanzuoguang.wxxcx.customerservicemessage.settyping.WxXcxCustomerServiceMessageSetTypingRes
;
import
com.yanzuoguang.wxxcx.customerservicemessage.settyping.service.WxXcxCustomerServiceMessageSetTypingService
;
import
org.springframework.stereotype.Component
;
/**
* 下发客服当前输入状态给用户 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxCustomerServiceMessageSetTypingServiceImpl
implements
WxXcxCustomerServiceMessageSetTypingService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxCustomerServiceMessageSetTypingServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 下发客服当前输入状态给用户
*
* @param accessToken accessToken
* @param req 下发客服当前输入状态给用户 入参
* @return 下发客服当前输入状态给用户 返回
*/
@Override
public
WxXcxCustomerServiceMessageSetTypingRes
getCustomerServiceMessageSetTyping
(
WxXcxAccessToken
accessToken
,
WxXcxCustomerServiceMessageSetTypingReq
req
)
{
WxXcxCustomerServiceMessageSetTypingRequest
request
=
new
WxXcxCustomerServiceMessageSetTypingRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/customerservicemessage/uploadtempmedia/WxXcxCustomerServiceMessageUploadTempMediaRequest.java
View file @
7ab504bc
...
...
@@ -6,6 +6,8 @@ import com.yanzuoguang.util.helper.JsonHelper;
import
com.yanzuoguang.wxxcx.base.*
;
/**
* 把媒体文件上传到微信服务器 转换
*
* @author 李贤军
*/
public
class
WxXcxCustomerServiceMessageUploadTempMediaRequest
implements
WxXcxRequestUrl
,
WxXcxRequestUrlPara
,
WxXcxRequestPostFormData
{
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/customerservicemessage/uploadtempmedia/WxXcxCustomerServiceMessageUploadTempMediaRes.java
View file @
7ab504bc
...
...
@@ -3,6 +3,8 @@ package com.yanzuoguang.wxxcx.customerservicemessage.uploadtempmedia;
import
com.yanzuoguang.wxxcx.base.WxXcxResponseBaseError
;
/**
* 把媒体文件上传到微信服务器 响应
*
* @author 李贤军
*/
public
class
WxXcxCustomerServiceMessageUploadTempMediaRes
extends
WxXcxResponseBaseError
{
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/customerservicemessage/uploadtempmedia/service/WxXcxCustomerServiceMessageUploadTempMediaService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
customerservicemessage
.
uploadtempmedia
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.customerservicemessage.uploadtempmedia.WxXcxCustomerServiceMessageUploadTempMediaReq
;
import
com.yanzuoguang.wxxcx.customerservicemessage.uploadtempmedia.WxXcxCustomerServiceMessageUploadTempMediaRes
;
/**
* 把媒体文件上传到微信服务器 接口
*
* @author 李贤军
*/
public
interface
WxXcxCustomerServiceMessageUploadTempMediaService
{
/**
* 把媒体文件上传到微信服务器
*
* @param accessToken accessToken
* @param req 把媒体文件上传到微信服务器 入参
* @return 把媒体文件上传到微信服务器 返回
*/
WxXcxCustomerServiceMessageUploadTempMediaRes
getCustomerServiceMessageUploadTempMedia
(
WxXcxAccessToken
accessToken
,
WxXcxCustomerServiceMessageUploadTempMediaReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/customerservicemessage/uploadtempmedia/service/impl/WxXcxCustomerServiceMessageUploadTempMediaServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
customerservicemessage
.
uploadtempmedia
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.customerservicemessage.uploadtempmedia.WxXcxCustomerServiceMessageUploadTempMediaReq
;
import
com.yanzuoguang.wxxcx.customerservicemessage.uploadtempmedia.WxXcxCustomerServiceMessageUploadTempMediaRequest
;
import
com.yanzuoguang.wxxcx.customerservicemessage.uploadtempmedia.WxXcxCustomerServiceMessageUploadTempMediaRes
;
import
com.yanzuoguang.wxxcx.customerservicemessage.uploadtempmedia.service.WxXcxCustomerServiceMessageUploadTempMediaService
;
import
org.springframework.stereotype.Component
;
/**
* 把媒体文件上传到微信服务器 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxCustomerServiceMessageUploadTempMediaServiceImpl
implements
WxXcxCustomerServiceMessageUploadTempMediaService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxCustomerServiceMessageUploadTempMediaServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 把媒体文件上传到微信服务器
*
* @param accessToken accessToken
* @param req 把媒体文件上传到微信服务器 入参
* @return 把媒体文件上传到微信服务器 返回
*/
@Override
public
WxXcxCustomerServiceMessageUploadTempMediaRes
getCustomerServiceMessageUploadTempMedia
(
WxXcxAccessToken
accessToken
,
WxXcxCustomerServiceMessageUploadTempMediaReq
req
)
{
WxXcxCustomerServiceMessageUploadTempMediaRequest
request
=
new
WxXcxCustomerServiceMessageUploadTempMediaRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/nearbypoi/WxXcxNearbyPoiAddReq.java
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
nearbypoi
;
/**
* 添加地点
*
* @author 李贤军
*/
public
class
WxXcxNearbyPoiAddReq
{
/**
*
接口调用凭证
* 接口调用凭证
*/
private
String
access_token
;
/**
*
必填,写死为"1"
* 必填,写死为"1"
*/
private
String
is_comm_nearby
;
/**
*
门店图片,最多9张,最少1张,上传门店图片如门店外景、环境设施、商品服务等,图片将展示在微信客户端的门店页。图片链接通过文档https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1444738729中的《上传图文消息内的图片获取URL》接口获取。必填,文件格式为bmp、png、jpeg、jpg或gif,大小不超过5M pic_list是字符串,内容是一个json
* 门店图片,最多9张,最少1张,上传门店图片如门店外景、环境设施、商品服务等,图片将展示在微信客户端的门店页。图片链接通过文档https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1444738729中的《上传图文消息内的图片获取URL》接口获取。必填,文件格式为bmp、png、jpeg、jpg或gif,大小不超过5M pic_list是字符串,内容是一个json
*/
private
String
pic_list
;
/**
*
必服务标签列表 必填,需要填写
* 必服务标签列表 必填,需要填写
* 1、 服务标签ID
* 2、 服务类型tpye
* 3、 服务名称name
...
...
@@ -29,43 +31,43 @@ public class WxXcxNearbyPoiAddReq {
*/
private
String
service_infos
;
/**
*
客服信息 选填,可自定义服务头像与昵称,具体填写字段见下方示例kf_info pic_list是字符串,内容是一个json
* 客服信息 选填,可自定义服务头像与昵称,具体填写字段见下方示例kf_info pic_list是字符串,内容是一个json
*/
private
String
kf_info
;
/**
*
门店名字 必填,门店名称需按照所选地理位置自动拉取腾讯地图门店名称,不可修改,如需修改请重现选择地图地点或重新创建地点。
* 门店名字 必填,门店名称需按照所选地理位置自动拉取腾讯地图门店名称,不可修改,如需修改请重现选择地图地点或重新创建地点。
*/
private
String
store_name
;
/**
*
营业时间,格式11:11-12:12 必填
* 营业时间,格式11:11-12:12 必填
*/
private
String
hour
;
/**
*
地址 必填
* 地址 必填
*/
private
String
address
;
/**
*
如果创建新的门店,poi_id字段为空 如果更新门店,poi_id参数则填对应门店的poi_id 选填
* 如果创建新的门店,poi_id字段为空 如果更新门店,poi_id参数则填对应门店的poi_id 选填
*/
private
String
poi_id
;
/**
*
主体名字 必填
* 主体名字 必填
*/
private
String
company_name
;
/**
*
门店电话 必填
* 门店电话 必填
*/
private
String
contract_phone
;
/**
*
资质号 必填, 15位营业执照注册号或9位组织机构代码
* 资质号 必填, 15位营业执照注册号或9位组织机构代码
*/
private
String
credential
;
/**
*
证明材料 必填 如果company_name和该小程序主体不一致,需要填qualification_list,详细规则见附近的小程序使用指南 - 如何证明门店的经营主体跟公众号或小程序帐号主体相关http://kf.qq.com/faq/170401MbUnim17040122m2qY.html
* 证明材料 必填 如果company_name和该小程序主体不一致,需要填qualification_list,详细规则见附近的小程序使用指南 - 如何证明门店的经营主体跟公众号或小程序帐号主体相关http://kf.qq.com/faq/170401MbUnim17040122m2qY.html
*/
private
String
qualification_list
;
/**
*
对应《在腾讯地图中搜索门店》中的sosomap_poi_uid字段 腾讯地图那边有些数据不一致,如果不填map_poi_id的话,小概率会提交失败!
* 对应《在腾讯地图中搜索门店》中的sosomap_poi_uid字段 腾讯地图那边有些数据不一致,如果不填map_poi_id的话,小概率会提交失败!
* 注:
* poi_id与map_poi_id关系:
* map_poi_id是腾讯地图对于 poi 的唯一标识
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/nearbypoi/WxXcxNearbyPoiAddRequest.java
View file @
7ab504bc
...
...
@@ -6,6 +6,8 @@ import com.yanzuoguang.util.helper.JsonHelper;
import
com.yanzuoguang.wxxcx.base.*
;
/**
* 添加地点
*
* @author 李贤军
*/
public
class
WxXcxNearbyPoiAddRequest
implements
WxXcxRequestUrl
,
WxXcxRequestUrlPara
,
WxXcxRequestPostFormData
{
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/nearbypoi/WxXcxNearbyPoiAddRes.java
View file @
7ab504bc
...
...
@@ -3,6 +3,8 @@ package com.yanzuoguang.wxxcx.nearbypoi;
import
com.yanzuoguang.wxxcx.base.WxXcxResponseBaseError
;
/**
* 添加地点
*
* @author 李贤军
*/
public
class
WxXcxNearbyPoiAddRes
extends
WxXcxResponseBaseError
{
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/nearbypoi/service/WxXcxNearbyPoiAddService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
nearbypoi
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiAddReq
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiAddRes
;
/**
* 添加地点
*
* @author 李贤军
*/
public
interface
WxXcxNearbyPoiAddService
{
/**
* 添加地点
*
* @param accessToken accessToken
* @param req 添加地点 请求
* @return 添加地点 返回
*/
WxXcxNearbyPoiAddRes
getNearbyPoiAdd
(
WxXcxAccessToken
accessToken
,
WxXcxNearbyPoiAddReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/nearbypoi/service/WxXcxNearbyPoiDeleteService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
nearbypoi
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiDeleteReq
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiDeleteRes
;
/**
* 删除地点
*
* @author 李贤军
*/
public
interface
WxXcxNearbyPoiDeleteService
{
/**
* 删除地点
*
* @param accessToken
* @param req 删除地点 入参
* @return 删除地点 返回
*/
WxXcxNearbyPoiDeleteRes
getNearbyPoiDelete
(
WxXcxAccessToken
accessToken
,
WxXcxNearbyPoiDeleteReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/nearbypoi/service/WxXcxNearbyPoiGetListService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
nearbypoi
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiGetListReq
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiGetListRes
;
/**
* 查看地点列表
*
* @author 李贤军
*/
public
interface
WxXcxNearbyPoiGetListService
{
/**
* 查看地点列表
*
* @param accessToken accessToken
* @param req 查看地点列表 入参
* @return 查看地点列表 返回
*/
WxXcxNearbyPoiGetListRes
getNearbyPoiGetList
(
WxXcxAccessToken
accessToken
,
WxXcxNearbyPoiGetListReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/nearbypoi/service/WxXcxNearbyPoiSetShowStatusService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
nearbypoi
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiGetListReq
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiGetListRes
;
/**
* 展示/取消展示附近小程序 接口
*
* @author 李贤军
*/
public
interface
WxXcxNearbyPoiSetShowStatusService
{
/**
* 展示/取消展示附近小程序
*
* @param accessToken accessToken
* @param req 展示/取消展示附近小程序 入参
* @return 展示/取消展示附近小程序 返回
*/
WxXcxNearbyPoiGetListRes
getNearbyPoiSetShowStatus
(
WxXcxAccessToken
accessToken
,
WxXcxNearbyPoiGetListReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/nearbypoi/service/impl/WxXcxNearbyPoiAddServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
nearbypoi
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiAddReq
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiAddRequest
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiAddRes
;
import
com.yanzuoguang.wxxcx.nearbypoi.service.WxXcxNearbyPoiAddService
;
import
org.springframework.stereotype.Component
;
/**
* 添加地点 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxNearbyPoiAddServiceImpl
implements
WxXcxNearbyPoiAddService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxNearbyPoiAddServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 添加地点
*
* @param accessToken accessToken
* @param req 添加地点 请求
* @return 添加地点 返回
*/
@Override
public
WxXcxNearbyPoiAddRes
getNearbyPoiAdd
(
WxXcxAccessToken
accessToken
,
WxXcxNearbyPoiAddReq
req
)
{
WxXcxNearbyPoiAddRequest
request
=
new
WxXcxNearbyPoiAddRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/nearbypoi/service/impl/WxXcxNearbyPoiDeleteServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
nearbypoi
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiDeleteReq
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiDeleteRequest
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiDeleteRes
;
import
com.yanzuoguang.wxxcx.nearbypoi.service.WxXcxNearbyPoiDeleteService
;
import
org.springframework.stereotype.Component
;
/**
* 删除地点 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxNearbyPoiDeleteServiceImpl
implements
WxXcxNearbyPoiDeleteService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxNearbyPoiDeleteServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 删除地点
*
* @param accessToken
* @param req 删除地点 入参
* @return 删除地点 返回
*/
@Override
public
WxXcxNearbyPoiDeleteRes
getNearbyPoiDelete
(
WxXcxAccessToken
accessToken
,
WxXcxNearbyPoiDeleteReq
req
)
{
WxXcxNearbyPoiDeleteRequest
request
=
new
WxXcxNearbyPoiDeleteRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/nearbypoi/service/impl/WxXcxNearbyPoiGetListServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
nearbypoi
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiGetListReq
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiGetListRequest
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiGetListRes
;
import
com.yanzuoguang.wxxcx.nearbypoi.service.WxXcxNearbyPoiGetListService
;
import
org.springframework.stereotype.Component
;
/**
* 查看地点列表 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxNearbyPoiGetListServiceImpl
implements
WxXcxNearbyPoiGetListService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxNearbyPoiGetListServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 查看地点列表
*
* @param accessToken accessToken
* @param req 查看地点列表 入参
* @return 查看地点列表 返回
*/
@Override
public
WxXcxNearbyPoiGetListRes
getNearbyPoiGetList
(
WxXcxAccessToken
accessToken
,
WxXcxNearbyPoiGetListReq
req
)
{
WxXcxNearbyPoiGetListRequest
request
=
new
WxXcxNearbyPoiGetListRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/nearbypoi/service/impl/WxXcxNearbyPoiSetShowStatusServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
nearbypoi
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiGetListReq
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiGetListRequest
;
import
com.yanzuoguang.wxxcx.nearbypoi.WxXcxNearbyPoiGetListRes
;
import
com.yanzuoguang.wxxcx.nearbypoi.service.WxXcxNearbyPoiSetShowStatusService
;
import
org.springframework.stereotype.Component
;
/**
* 展示/取消展示附近小程序 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxNearbyPoiSetShowStatusServiceImpl
implements
WxXcxNearbyPoiSetShowStatusService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxNearbyPoiSetShowStatusServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 展示/取消展示附近小程序
*
* @param accessToken accessToken
* @param req 展示/取消展示附近小程序 入参
* @return 展示/取消展示附近小程序 返回
*/
@Override
public
WxXcxNearbyPoiGetListRes
getNearbyPoiSetShowStatus
(
WxXcxAccessToken
accessToken
,
WxXcxNearbyPoiGetListReq
req
)
{
WxXcxNearbyPoiGetListRequest
request
=
new
WxXcxNearbyPoiGetListRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/openapimanage/WxXcxOpenApiManageGetRidInfoRequestRes.java
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
openapimanage
;
/**
* 查询 RID 信息 request
*
* @author 李贤军
*/
public
class
WxXcxOpenApiManageGetRidInfoRequestRes
{
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/openapimanage/service/WxXcxOpenApiManageClearQuotaService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
openapimanage
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.openapimanage.WxXcxOpenApiManageClearQuotaReq
;
import
com.yanzuoguang.wxxcx.openapimanage.WxXcxOpenApiManageClearQuotaRes
;
/**
* 重置 API 调用次数 接口
*
* @author 李贤军
*/
public
interface
WxXcxOpenApiManageClearQuotaService
{
/**
* 重置 API 调用次数
*
* @param accessToken accessToken
* @param req 重置 API 调用次数 入参
* @return 重置 API 调用次数 返回
*/
WxXcxOpenApiManageClearQuotaRes
getClearQuota
(
WxXcxAccessToken
accessToken
,
WxXcxOpenApiManageClearQuotaReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/openapimanage/service/WxXcxOpenApiManageGetApiQuotaService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
openapimanage
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.openapimanage.WxXcxOpenApiManageGetApiQuotaReq
;
import
com.yanzuoguang.wxxcx.openapimanage.WxXcxOpenApiManageGetApiQuotaRes
;
/**
* 查询 API 调用额度 接口
*
* @author 李贤军
*/
public
interface
WxXcxOpenApiManageGetApiQuotaService
{
/**
* 查询 API 调用额度
*
* @param accessToken accessToken
* @param req 查询 API 调用额度 入参
* @return 查询 API 调用额度 返回
*/
WxXcxOpenApiManageGetApiQuotaRes
getGetApiQuota
(
WxXcxAccessToken
accessToken
,
WxXcxOpenApiManageGetApiQuotaReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/openapimanage/service/WxXcxOpenApiManageGetRidInfoService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
openapimanage
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.openapimanage.WxXcxOpenApiManageGetRidInfoReq
;
import
com.yanzuoguang.wxxcx.openapimanage.WxXcxOpenApiManageGetRidInfoRes
;
/**
* 查询 RID 信息 接口
*
* @author 李贤军
*/
public
interface
WxXcxOpenApiManageGetRidInfoService
{
/**
* 查询 RID 信息
*
* @param accessToken accessToken
* @param req 查询 RID 信息 入参
* @return 查询 RID 信息 返回
*/
WxXcxOpenApiManageGetRidInfoRes
getGetRidInfo
(
WxXcxAccessToken
accessToken
,
WxXcxOpenApiManageGetRidInfoReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/openapimanage/service/impl/WxXcxOpenApiManageClearQuotaServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
openapimanage
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.openapimanage.WxXcxOpenApiManageClearQuotaReq
;
import
com.yanzuoguang.wxxcx.openapimanage.WxXcxOpenApiManageClearQuotaRequest
;
import
com.yanzuoguang.wxxcx.openapimanage.WxXcxOpenApiManageClearQuotaRes
;
import
com.yanzuoguang.wxxcx.openapimanage.service.WxXcxOpenApiManageClearQuotaService
;
import
org.springframework.stereotype.Component
;
/**
* 重置 API 调用次数 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxOpenApiManageClearQuotaServiceImpl
implements
WxXcxOpenApiManageClearQuotaService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxOpenApiManageClearQuotaServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 重置 API 调用次数
*
* @param accessToken accessToken
* @param req 重置 API 调用次数 入参
* @return 重置 API 调用次数 返回
*/
@Override
public
WxXcxOpenApiManageClearQuotaRes
getClearQuota
(
WxXcxAccessToken
accessToken
,
WxXcxOpenApiManageClearQuotaReq
req
)
{
WxXcxOpenApiManageClearQuotaRequest
request
=
new
WxXcxOpenApiManageClearQuotaRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/openapimanage/service/impl/WxXcxOpenApiManageGetApiQuotaServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
openapimanage
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.openapimanage.WxXcxOpenApiManageGetApiQuotaReq
;
import
com.yanzuoguang.wxxcx.openapimanage.WxXcxOpenApiManageGetApiQuotaRequest
;
import
com.yanzuoguang.wxxcx.openapimanage.WxXcxOpenApiManageGetApiQuotaRes
;
import
com.yanzuoguang.wxxcx.openapimanage.service.WxXcxOpenApiManageGetApiQuotaService
;
import
org.springframework.stereotype.Component
;
/**
* 查询 API 调用额度 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxOpenApiManageGetApiQuotaServiceImpl
implements
WxXcxOpenApiManageGetApiQuotaService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxOpenApiManageGetApiQuotaServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 查询 API 调用额度
*
* @param accessToken accessToken
* @param req 查询 API 调用额度 入参
* @return 查询 API 调用额度 返回
*/
@Override
public
WxXcxOpenApiManageGetApiQuotaRes
getGetApiQuota
(
WxXcxAccessToken
accessToken
,
WxXcxOpenApiManageGetApiQuotaReq
req
)
{
WxXcxOpenApiManageGetApiQuotaRequest
request
=
new
WxXcxOpenApiManageGetApiQuotaRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/openapimanage/service/impl/WxXcxOpenApiManageGetRidInfoServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
openapimanage
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.openapimanage.WxXcxOpenApiManageGetRidInfoReq
;
import
com.yanzuoguang.wxxcx.openapimanage.WxXcxOpenApiManageGetRidInfoRequest
;
import
com.yanzuoguang.wxxcx.openapimanage.WxXcxOpenApiManageGetRidInfoRes
;
import
com.yanzuoguang.wxxcx.openapimanage.service.WxXcxOpenApiManageGetRidInfoService
;
import
org.springframework.stereotype.Component
;
/**
* 查询 RID 信息 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxOpenApiManageGetRidInfoServiceImpl
implements
WxXcxOpenApiManageGetRidInfoService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxOpenApiManageGetRidInfoServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 查询 RID 信息
*
* @param accessToken accessToken
* @param req 查询 RID 信息 入参
* @return 查询 RID 信息 返回
*/
@Override
public
WxXcxOpenApiManageGetRidInfoRes
getGetRidInfo
(
WxXcxAccessToken
accessToken
,
WxXcxOpenApiManageGetRidInfoReq
req
)
{
WxXcxOpenApiManageGetRidInfoRequest
request
=
new
WxXcxOpenApiManageGetRidInfoRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/pluginmanager/service/WxXcxPluginManagerApplyPluginService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
pluginmanager
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerApplyPluginReq
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerApplyPluginRes
;
/**
* 向插件开发者发起使用插件的申请 接口
*
* @author 李贤军
*/
public
interface
WxXcxPluginManagerApplyPluginService
{
/**
* 向插件开发者发起使用插件的申请
*
* @param accessToken accessToken
* @param req 向插件开发者发起使用插件的申请 入参
* @return 向插件开发者发起使用插件的申请 返回
*/
WxXcxPluginManagerApplyPluginRes
getPluginManagerApplyPlugin
(
WxXcxAccessToken
accessToken
,
WxXcxPluginManagerApplyPluginReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/pluginmanager/service/WxXcxPluginManagerGetPluginListService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
pluginmanager
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerGetPluginListReq
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerGetPluginListRes
;
/**
* 查询已添加的插件 接口
*
* @author 李贤军
*/
public
interface
WxXcxPluginManagerGetPluginListService
{
/**
* 查询已添加的插件
*
* @param accessToken accessToken
* @param req 查询已添加的插件 入参
* @return 查询已添加的插件 返回
*/
WxXcxPluginManagerGetPluginListRes
getPluginManagerGetPluginList
(
WxXcxAccessToken
accessToken
,
WxXcxPluginManagerGetPluginListReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/pluginmanager/service/WxXcxPluginManagerSetDevPluginApplyStatusService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
pluginmanager
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerSetDevPluginApplyStatusReq
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerSetDevPluginApplyStatusRes
;
/**
* 修改插件使用申请的状态 接口
*
* @author 李贤军
*/
public
interface
WxXcxPluginManagerSetDevPluginApplyStatusService
{
/**
* 修改插件使用申请的状态
*
* @param accessToken accessToken
* @param req 修改插件使用申请的状态 请求
* @return 修改插件使用申请的状态 返回
*/
WxXcxPluginManagerSetDevPluginApplyStatusRes
getPluginManagerSetDevPluginApplyStatus
(
WxXcxAccessToken
accessToken
,
WxXcxPluginManagerSetDevPluginApplyStatusReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/pluginmanager/service/WxXcxPluginManagerUnbindPluginService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
pluginmanager
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerUnbindPluginReq
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerUnbindPluginRes
;
/**
* 删除已添加的插件 接口
*
* @author 李贤军
*/
public
interface
WxXcxPluginManagerUnbindPluginService
{
/**
* 删除已添加的插件
*
* @param accessToken accessToken
* @param req 删除已添加的插件 入参
* @return 删除已添加的插件 返回
*/
WxXcxPluginManagerUnbindPluginRes
getPluginManagerUnbindPlugin
(
WxXcxAccessToken
accessToken
,
WxXcxPluginManagerUnbindPluginReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/pluginmanager/service/WxXxcPluginManagerGetPluginDevApplyListService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
pluginmanager
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXxcPluginManagerGetPluginDevApplyListReq
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXxcPluginManagerGetPluginDevApplyListRes
;
/**
* 获取当前所有插件使用方 接口
*
* @author 李贤军
*/
public
interface
WxXxcPluginManagerGetPluginDevApplyListService
{
/**
* 获取当前所有插件使用方
*
* @param accessToken accessToken
* @param req 获取当前所有插件使用方 入参
* @return 获取当前所有插件使用方 返回
*/
WxXxcPluginManagerGetPluginDevApplyListRes
getPluginManagerGetPluginDevApplyList
(
WxXcxAccessToken
accessToken
,
WxXxcPluginManagerGetPluginDevApplyListReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/pluginmanager/service/impl/WxXcxPluginManagerApplyPluginServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
pluginmanager
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerApplyPluginReq
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerApplyPluginRequest
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerApplyPluginRes
;
import
com.yanzuoguang.wxxcx.pluginmanager.service.WxXcxPluginManagerApplyPluginService
;
import
org.springframework.stereotype.Component
;
/**
* 向插件开发者发起使用插件的申请 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxPluginManagerApplyPluginServiceImpl
implements
WxXcxPluginManagerApplyPluginService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxPluginManagerApplyPluginServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 向插件开发者发起使用插件的申请
*
* @param accessToken accessToken
* @param req 向插件开发者发起使用插件的申请 入参
* @return 向插件开发者发起使用插件的申请 返回
*/
@Override
public
WxXcxPluginManagerApplyPluginRes
getPluginManagerApplyPlugin
(
WxXcxAccessToken
accessToken
,
WxXcxPluginManagerApplyPluginReq
req
)
{
WxXcxPluginManagerApplyPluginRequest
request
=
new
WxXcxPluginManagerApplyPluginRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/pluginmanager/service/impl/WxXcxPluginManagerGetPluginListServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
pluginmanager
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerGetPluginListReq
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerGetPluginListRequest
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerGetPluginListRes
;
import
com.yanzuoguang.wxxcx.pluginmanager.service.WxXcxPluginManagerGetPluginListService
;
import
org.springframework.stereotype.Component
;
/**
* 查询已添加的插件 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxPluginManagerGetPluginListServiceImpl
implements
WxXcxPluginManagerGetPluginListService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxPluginManagerGetPluginListServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 查询已添加的插件
*
* @param accessToken accessToken
* @param req 查询已添加的插件 入参
* @return 查询已添加的插件 返回
*/
@Override
public
WxXcxPluginManagerGetPluginListRes
getPluginManagerGetPluginList
(
WxXcxAccessToken
accessToken
,
WxXcxPluginManagerGetPluginListReq
req
)
{
WxXcxPluginManagerGetPluginListRequest
request
=
new
WxXcxPluginManagerGetPluginListRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/pluginmanager/service/impl/WxXcxPluginManagerSetDevPluginApplyStatusServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
pluginmanager
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerSetDevPluginApplyStatusReq
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerSetDevPluginApplyStatusRequest
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerSetDevPluginApplyStatusRes
;
import
com.yanzuoguang.wxxcx.pluginmanager.service.WxXcxPluginManagerSetDevPluginApplyStatusService
;
import
org.springframework.stereotype.Component
;
/**
* 修改插件使用申请的状态
*
* @author 李贤军
*/
@Component
public
class
WxXcxPluginManagerSetDevPluginApplyStatusServiceImpl
implements
WxXcxPluginManagerSetDevPluginApplyStatusService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxPluginManagerSetDevPluginApplyStatusServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 修改插件使用申请的状态
*
* @param accessToken accessToken
* @param req 修改插件使用申请的状态 请求
* @return 修改插件使用申请的状态 返回
*/
@Override
public
WxXcxPluginManagerSetDevPluginApplyStatusRes
getPluginManagerSetDevPluginApplyStatus
(
WxXcxAccessToken
accessToken
,
WxXcxPluginManagerSetDevPluginApplyStatusReq
req
)
{
WxXcxPluginManagerSetDevPluginApplyStatusRequest
request
=
new
WxXcxPluginManagerSetDevPluginApplyStatusRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/pluginmanager/service/impl/WxXcxPluginManagerUnbindPluginServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
pluginmanager
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerUnbindPluginReq
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerUnbindPluginRequest
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXcxPluginManagerUnbindPluginRes
;
import
com.yanzuoguang.wxxcx.pluginmanager.service.WxXcxPluginManagerUnbindPluginService
;
import
org.springframework.stereotype.Component
;
/**
* 删除已添加的插件
*
* @author 李贤军
*/
@Component
public
class
WxXcxPluginManagerUnbindPluginServiceImpl
implements
WxXcxPluginManagerUnbindPluginService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxPluginManagerUnbindPluginServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 删除已添加的插件
*
* @param accessToken accessToken
* @param req 删除已添加的插件 入参
* @return 删除已添加的插件 返回
*/
@Override
public
WxXcxPluginManagerUnbindPluginRes
getPluginManagerUnbindPlugin
(
WxXcxAccessToken
accessToken
,
WxXcxPluginManagerUnbindPluginReq
req
)
{
WxXcxPluginManagerUnbindPluginRequest
request
=
new
WxXcxPluginManagerUnbindPluginRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/pluginmanager/service/impl/WxXxcPluginManagerGetPluginDevApplyListServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
pluginmanager
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXxcPluginManagerGetPluginDevApplyListReq
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXxcPluginManagerGetPluginDevApplyListRequest
;
import
com.yanzuoguang.wxxcx.pluginmanager.WxXxcPluginManagerGetPluginDevApplyListRes
;
import
com.yanzuoguang.wxxcx.pluginmanager.service.WxXxcPluginManagerGetPluginDevApplyListService
;
import
org.springframework.stereotype.Component
;
/**
* 获取当前所有插件使用方 实现
*
* @author 李贤军
*/
@Component
public
class
WxXxcPluginManagerGetPluginDevApplyListServiceImpl
implements
WxXxcPluginManagerGetPluginDevApplyListService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXxcPluginManagerGetPluginDevApplyListServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取当前所有插件使用方
*
* @param accessToken accessToken
* @param req 获取当前所有插件使用方 入参
* @return 获取当前所有插件使用方 返回
*/
@Override
public
WxXxcPluginManagerGetPluginDevApplyListRes
getPluginManagerGetPluginDevApplyList
(
WxXcxAccessToken
accessToken
,
WxXxcPluginManagerGetPluginDevApplyListReq
req
)
{
WxXxcPluginManagerGetPluginDevApplyListRequest
request
=
new
WxXxcPluginManagerGetPluginDevApplyListRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/redpacketcover/service/WxXcxRedPacketCoverGetAuthenticationUrlService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
redpacketcover
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.redpacketcover.WxXcxRedPacketCoverGetAuthenticationUrlReq
;
import
com.yanzuoguang.wxxcx.redpacketcover.WxXcxRedPacketCoverGetAuthenticationUrlRes
;
/**
* 本接口用于获得指定用户可以领取的红包封面链接 接口
*
* @author 李贤军
*/
public
interface
WxXcxRedPacketCoverGetAuthenticationUrlService
{
/**
* 本接口用于获得指定用户可以领取的红包封面链接
*
* @param accessToken accessToken
* @param req 本接口用于获得指定用户可以领取的红包封面链接 入参
* @return 本接口用于获得指定用户可以领取的红包封面链接 返回
*/
WxXcxRedPacketCoverGetAuthenticationUrlRes
getRedPacketCoverGetAuthenticationUrl
(
WxXcxAccessToken
accessToken
,
WxXcxRedPacketCoverGetAuthenticationUrlReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/redpacketcover/service/impl/WxXcxRedPacketCoverGetAuthenticationUrlServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
redpacketcover
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.redpacketcover.WxXcxRedPacketCoverGetAuthenticationUrlReq
;
import
com.yanzuoguang.wxxcx.redpacketcover.WxXcxRedPacketCoverGetAuthenticationUrlRequest
;
import
com.yanzuoguang.wxxcx.redpacketcover.WxXcxRedPacketCoverGetAuthenticationUrlRes
;
import
com.yanzuoguang.wxxcx.redpacketcover.service.WxXcxRedPacketCoverGetAuthenticationUrlService
;
import
org.springframework.stereotype.Component
;
/**
* 本接口用于获得指定用户可以领取的红包封面链接 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxRedPacketCoverGetAuthenticationUrlServiceImpl
implements
WxXcxRedPacketCoverGetAuthenticationUrlService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxRedPacketCoverGetAuthenticationUrlServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 本接口用于获得指定用户可以领取的红包封面链接
*
* @param accessToken accessToken
* @param req 本接口用于获得指定用户可以领取的红包封面链接 入参
* @return 本接口用于获得指定用户可以领取的红包封面链接 返回
*/
@Override
public
WxXcxRedPacketCoverGetAuthenticationUrlRes
getRedPacketCoverGetAuthenticationUrl
(
WxXcxAccessToken
accessToken
,
WxXcxRedPacketCoverGetAuthenticationUrlReq
req
)
{
WxXcxRedPacketCoverGetAuthenticationUrlRequest
request
=
new
WxXcxRedPacketCoverGetAuthenticationUrlRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/security/service/WxXcxSecurityMediaCheckAsyncService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
security
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.security.WxXcxSecurityMediaCheckAsyncReq
;
import
com.yanzuoguang.wxxcx.security.WxXcxSecurityMediaCheckAsyncRes
;
/**
* 异步校验图片/音频是否含有违法违规内容 接口
*
* @author 李贤军
*/
public
interface
WxXcxSecurityMediaCheckAsyncService
{
/**
* 异步校验图片/音频是否含有违法违规内容
*
* @param accessToken accessToken
* @param req 异步校验图片/音频是否含有违法违规内容 入参
* @return 异步校验图片/音频是否含有违法违规内容 返回
*/
WxXcxSecurityMediaCheckAsyncRes
getSecurityMediaCheckAsync
(
WxXcxAccessToken
accessToken
,
WxXcxSecurityMediaCheckAsyncReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/security/service/WxXcxSecurityMsgSecCheckService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
security
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.security.WxXcxSecurityMsgSecCheckReq
;
import
com.yanzuoguang.wxxcx.security.WxXcxSecurityMsgSecCheckRes
;
/**
* 检查一段文本是否含有违法违规内容 接口
*
* @author 李贤军
*/
public
interface
WxXcxSecurityMsgSecCheckService
{
/**
* 检查一段文本是否含有违法违规内容
*
* @param accessToken accessToken
* @param req 检查一段文本是否含有违法违规内容 入参
* @return 检查一段文本是否含有违法违规内容 返回
*/
WxXcxSecurityMsgSecCheckRes
getSecurityMsgSecCheck
(
WxXcxAccessToken
accessToken
,
WxXcxSecurityMsgSecCheckReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/security/service/impl/WxXcxSecurityMediaCheckAsyncServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
security
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.security.WxXcxSecurityMediaCheckAsyncReq
;
import
com.yanzuoguang.wxxcx.security.WxXcxSecurityMediaCheckAsyncRequest
;
import
com.yanzuoguang.wxxcx.security.WxXcxSecurityMediaCheckAsyncRes
;
import
com.yanzuoguang.wxxcx.security.service.WxXcxSecurityMediaCheckAsyncService
;
import
org.springframework.stereotype.Component
;
/**
* 异步校验图片/音频是否含有违法违规内容 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxSecurityMediaCheckAsyncServiceImpl
implements
WxXcxSecurityMediaCheckAsyncService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxSecurityMediaCheckAsyncServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 异步校验图片/音频是否含有违法违规内容
*
* @param accessToken accessToken
* @param req 异步校验图片/音频是否含有违法违规内容 入参
* @return 异步校验图片/音频是否含有违法违规内容 返回
*/
@Override
public
WxXcxSecurityMediaCheckAsyncRes
getSecurityMediaCheckAsync
(
WxXcxAccessToken
accessToken
,
WxXcxSecurityMediaCheckAsyncReq
req
)
{
WxXcxSecurityMediaCheckAsyncRequest
request
=
new
WxXcxSecurityMediaCheckAsyncRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/security/service/impl/WxXcxSecurityMsgSecCheckServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
security
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.security.WxXcxSecurityMsgSecCheckReq
;
import
com.yanzuoguang.wxxcx.security.WxXcxSecurityMsgSecCheckRequest
;
import
com.yanzuoguang.wxxcx.security.WxXcxSecurityMsgSecCheckRes
;
import
com.yanzuoguang.wxxcx.security.service.WxXcxSecurityMsgSecCheckService
;
import
org.springframework.stereotype.Component
;
/**
* 检查一段文本是否含有违法违规内容 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxSecurityMsgSecCheckServiceImpl
implements
WxXcxSecurityMsgSecCheckService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxSecurityMsgSecCheckServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 检查一段文本是否含有违法违规内容
*
* @param accessToken accessToken
* @param req 检查一段文本是否含有违法违规内容 入参
* @return 检查一段文本是否含有违法违规内容 返回
*/
@Override
public
WxXcxSecurityMsgSecCheckRes
getSecurityMsgSecCheck
(
WxXcxAccessToken
accessToken
,
WxXcxSecurityMsgSecCheckReq
req
)
{
WxXcxSecurityMsgSecCheckRequest
request
=
new
WxXcxSecurityMsgSecCheckRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/start/WxXcxAuthLogin.java
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
start
;
import
com.yanzuoguang.wxxcx.auth.login.WxXcxAuthCode2SessionReq
;
import
com.yanzuoguang.wxxcx.auth.login.WxXcx
Response
AuthCode2SessionRes
;
import
com.yanzuoguang.wxxcx.auth.login.WxXcxAuthCode2SessionRes
;
/**
* 微信登录实现类
...
...
@@ -16,5 +16,5 @@ public interface WxXcxAuthLogin {
* @param wxXcxAuthCode2SessionReq 请求登录
* @return 请求实体
*/
WxXcx
Response
AuthCode2SessionRes
code2Session
(
WxXcxAuthCode2SessionReq
wxXcxAuthCode2SessionReq
);
WxXcxAuthCode2SessionRes
code2Session
(
WxXcxAuthCode2SessionReq
wxXcxAuthCode2SessionReq
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/start/impl/WxXcxAuthLoginImpl.java
View file @
7ab504bc
...
...
@@ -2,7 +2,7 @@ package com.yanzuoguang.wxxcx.start.impl;
import
com.yanzuoguang.wxxcx.auth.login.WxXcxAuthCode2SessionReq
;
import
com.yanzuoguang.wxxcx.auth.login.WxXcxAuthCode2SessionRequest
;
import
com.yanzuoguang.wxxcx.auth.login.WxXcx
Response
AuthCode2SessionRes
;
import
com.yanzuoguang.wxxcx.auth.login.WxXcxAuthCode2SessionRes
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.start.WxXcxAuthLogin
;
...
...
@@ -31,7 +31,7 @@ public class WxXcxAuthLoginImpl implements WxXcxAuthLogin {
* @return
*/
@Override
public
WxXcx
Response
AuthCode2SessionRes
code2Session
(
WxXcxAuthCode2SessionReq
wxXcxAuthCode2SessionReq
)
{
public
WxXcxAuthCode2SessionRes
code2Session
(
WxXcxAuthCode2SessionReq
wxXcxAuthCode2SessionReq
)
{
WxXcxAuthCode2SessionRequest
code2SessionRequest
=
new
WxXcxAuthCode2SessionRequest
(
wxXcxConfig
,
wxXcxRequest
,
wxXcxAuthCode2SessionReq
);
return
code2SessionRequest
.
getResponse
();
}
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/uniformmessage/service/WxXcxUniformMessageSendService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
uniformmessage
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.uniformmessage.WxXcxUniformMessageSendReq
;
import
com.yanzuoguang.wxxcx.uniformmessage.WxXcxUniformMessageSendRes
;
/**
* 下发小程序和公众号统一的服务消息 接口
*
* @author 李贤军
*/
public
interface
WxXcxUniformMessageSendService
{
/**
* 下发小程序和公众号统一的服务消息
*
* @param accessToken accessToken
* @param req 下发小程序和公众号统一的服务消息 入参
* @return 下发小程序和公众号统一的服务消息 返回
*/
WxXcxUniformMessageSendRes
getSecurityMsgSecCheck
(
WxXcxAccessToken
accessToken
,
WxXcxUniformMessageSendReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/uniformmessage/service/impl/WxXcxUniformMessageSendServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
uniformmessage
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.uniformmessage.WxXcxUniformMessageSendReq
;
import
com.yanzuoguang.wxxcx.uniformmessage.WxXcxUniformMessageSendRequest
;
import
com.yanzuoguang.wxxcx.uniformmessage.WxXcxUniformMessageSendRes
;
import
com.yanzuoguang.wxxcx.uniformmessage.service.WxXcxUniformMessageSendService
;
import
org.springframework.stereotype.Component
;
/**
* 下发小程序和公众号统一的服务消息 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxUniformMessageSendServiceImpl
implements
WxXcxUniformMessageSendService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxUniformMessageSendServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 下发小程序和公众号统一的服务消息
*
* @param accessToken accessToken
* @param req 下发小程序和公众号统一的服务消息 入参
* @return 下发小程序和公众号统一的服务消息 返回
*/
@Override
public
WxXcxUniformMessageSendRes
getSecurityMsgSecCheck
(
WxXcxAccessToken
accessToken
,
WxXcxUniformMessageSendReq
req
)
{
WxXcxUniformMessageSendRequest
request
=
new
WxXcxUniformMessageSendRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/updatablemessage/WxXcxUpdatableMessageCreateActivityIdRequest.java
View file @
7ab504bc
...
...
@@ -14,11 +14,13 @@ public class WxXcxUpdatableMessageCreateActivityIdRequest implements WxXcxReques
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
private
final
WxXcxAccessToken
accessToken
;
private
final
WxXcxUpdatableMessageCreateActivityIdReq
req
;
public
WxXcxUpdatableMessageCreateActivityIdRequest
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
,
WxXcxUpdatableMessageCreateActivityIdReq
req
)
{
public
WxXcxUpdatableMessageCreateActivityIdRequest
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
,
WxXcx
AccessToken
accessToken
,
WxXcx
UpdatableMessageCreateActivityIdReq
req
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
this
.
accessToken
=
accessToken
;
this
.
req
=
req
;
}
...
...
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/updatablemessage/service/WxXcxUpdatableMessageCreateActivityIdService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
updatablemessage
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.updatablemessage.WxXcxUpdatableMessageCreateActivityIdReq
;
import
com.yanzuoguang.wxxcx.updatablemessage.WxXcxUpdatableMessageCreateActivityIdRes
;
/**
* 创建被分享动态消息或私密消息的 activity_id 接口
*
* @author 李贤军
*/
public
interface
WxXcxUpdatableMessageCreateActivityIdService
{
/**
* 创建被分享动态消息或私密消息的 activity_id
*
* @param accessToken accessToken
* @param req 创建被分享动态消息或私密消息的 activity_id 入参
* @return 创建被分享动态消息或私密消息的 activity_id 返回
*/
WxXcxUpdatableMessageCreateActivityIdRes
getUpdatableMessageCreateActivityId
(
WxXcxAccessToken
accessToken
,
WxXcxUpdatableMessageCreateActivityIdReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/updatablemessage/service/WxXcxUpdatableMessageSetUpdatableMsgService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
updatablemessage
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.updatablemessage.WxXcxUpdatableMessageSetUpdatableMsgReq
;
import
com.yanzuoguang.wxxcx.updatablemessage.WxXcxUpdatableMessageSetUpdatableMsgRes
;
/**
* 修改被分享的动态消息 接口
*
* @author 李贤军
*/
public
interface
WxXcxUpdatableMessageSetUpdatableMsgService
{
/**
* 修改被分享的动态消息
*
* @param accessToken accessToken
* @param req 修改被分享的动态消息 入参
* @return 修改被分享的动态消息 返回
*/
WxXcxUpdatableMessageSetUpdatableMsgRes
getUpdatableMessageSetUpdatableMsg
(
WxXcxAccessToken
accessToken
,
WxXcxUpdatableMessageSetUpdatableMsgReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/updatablemessage/service/impl/WxXcxUpdatableMessageCreateActivityIdServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
updatablemessage
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.updatablemessage.WxXcxUpdatableMessageCreateActivityIdReq
;
import
com.yanzuoguang.wxxcx.updatablemessage.WxXcxUpdatableMessageCreateActivityIdRequest
;
import
com.yanzuoguang.wxxcx.updatablemessage.WxXcxUpdatableMessageCreateActivityIdRes
;
import
com.yanzuoguang.wxxcx.updatablemessage.service.WxXcxUpdatableMessageCreateActivityIdService
;
import
org.springframework.stereotype.Component
;
/**
* 创建被分享动态消息或私密消息的 activity_id 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxUpdatableMessageCreateActivityIdServiceImpl
implements
WxXcxUpdatableMessageCreateActivityIdService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxUpdatableMessageCreateActivityIdServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 创建被分享动态消息或私密消息的 activity_id
*
* @param accessToken accessToken
* @param req 创建被分享动态消息或私密消息的 activity_id 入参
* @return 创建被分享动态消息或私密消息的 activity_id 返回
*/
@Override
public
WxXcxUpdatableMessageCreateActivityIdRes
getUpdatableMessageCreateActivityId
(
WxXcxAccessToken
accessToken
,
WxXcxUpdatableMessageCreateActivityIdReq
req
)
{
WxXcxUpdatableMessageCreateActivityIdRequest
request
=
new
WxXcxUpdatableMessageCreateActivityIdRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/updatablemessage/service/impl/WxXcxUpdatableMessageSetUpdatableMsgServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
updatablemessage
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.updatablemessage.WxXcxUpdatableMessageSetUpdatableMsgReq
;
import
com.yanzuoguang.wxxcx.updatablemessage.WxXcxUpdatableMessageSetUpdatableMsgRequest
;
import
com.yanzuoguang.wxxcx.updatablemessage.WxXcxUpdatableMessageSetUpdatableMsgRes
;
import
com.yanzuoguang.wxxcx.updatablemessage.service.WxXcxUpdatableMessageSetUpdatableMsgService
;
import
org.springframework.stereotype.Component
;
/**
* 修改被分享的动态消息 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxUpdatableMessageSetUpdatableMsgServiceImpl
implements
WxXcxUpdatableMessageSetUpdatableMsgService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxUpdatableMessageSetUpdatableMsgServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 修改被分享的动态消息
*
* @param accessToken accessToken
* @param req 修改被分享的动态消息 入参
* @return 修改被分享的动态消息 返回
*/
@Override
public
WxXcxUpdatableMessageSetUpdatableMsgRes
getUpdatableMessageSetUpdatableMsg
(
WxXcxAccessToken
accessToken
,
WxXcxUpdatableMessageSetUpdatableMsgReq
req
)
{
WxXcxUpdatableMessageSetUpdatableMsgRequest
request
=
new
WxXcxUpdatableMessageSetUpdatableMsgRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/urllink/service/WxXcxUrlLinkGenerateService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
urllink
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.urllink.WxXcxUrlLinkGenerateReq
;
import
com.yanzuoguang.wxxcx.urllink.WxXcxUrlLinkGenerateRes
;
/**
* 获取小程序 URL Link 接口
*
* @author 李贤军
*/
public
interface
WxXcxUrlLinkGenerateService
{
/**
* 获取小程序 URL Link
*
* @param accessToken accessToken
* @param req 获取小程序 URL Link 请求
* @return 获取小程序 URL Link 返回
*/
WxXcxUrlLinkGenerateRes
getUrlLinkGenerate
(
WxXcxAccessToken
accessToken
,
WxXcxUrlLinkGenerateReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/urllink/service/WxXcxUrlLinkQueryService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
urllink
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.urllink.WxXcxUrlLinkQueryReq
;
import
com.yanzuoguang.wxxcx.urllink.WxXcxUrlLinkQueryRes
;
/**
* 查询小程序 url_link 配置 接口
*
* @author 李贤军
*/
public
interface
WxXcxUrlLinkQueryService
{
/**
* 查询小程序 url_link 配置
*
* @param accessToken accessToken
* @param req 查询小程序 url_link 配置 入参
* @return 查询小程序 url_link 配置 返回
*/
WxXcxUrlLinkQueryRes
getUrlLinkQuery
(
WxXcxAccessToken
accessToken
,
WxXcxUrlLinkQueryReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/urllink/service/impl/WxXcxUrlLinkGenerateServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
urllink
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.urllink.WxXcxUrlLinkGenerateReq
;
import
com.yanzuoguang.wxxcx.urllink.WxXcxUrlLinkGenerateRequest
;
import
com.yanzuoguang.wxxcx.urllink.WxXcxUrlLinkGenerateRes
;
import
com.yanzuoguang.wxxcx.urllink.service.WxXcxUrlLinkGenerateService
;
import
org.springframework.stereotype.Component
;
/**
* 获取小程序 URL Link 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxUrlLinkGenerateServiceImpl
implements
WxXcxUrlLinkGenerateService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxUrlLinkGenerateServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取小程序 URL Link
*
* @param accessToken accessToken
* @param req 获取小程序 URL Link 请求
* @return 获取小程序 URL Link 返回
*/
@Override
public
WxXcxUrlLinkGenerateRes
getUrlLinkGenerate
(
WxXcxAccessToken
accessToken
,
WxXcxUrlLinkGenerateReq
req
)
{
WxXcxUrlLinkGenerateRequest
request
=
new
WxXcxUrlLinkGenerateRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/urllink/service/impl/WxXcxUrlLinkQueryServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
urllink
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.urllink.WxXcxUrlLinkQueryReq
;
import
com.yanzuoguang.wxxcx.urllink.WxXcxUrlLinkQueryRequest
;
import
com.yanzuoguang.wxxcx.urllink.WxXcxUrlLinkQueryRes
;
import
com.yanzuoguang.wxxcx.urllink.service.WxXcxUrlLinkQueryService
;
import
org.springframework.stereotype.Component
;
/**
* 查询小程序 url_link 配置 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxUrlLinkQueryServiceImpl
implements
WxXcxUrlLinkQueryService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxUrlLinkQueryServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 查询小程序 url_link 配置
*
* @param accessToken accessToken
* @param req 查询小程序 url_link 配置 入参
* @return 查询小程序 url_link 配置 返回
*/
@Override
public
WxXcxUrlLinkQueryRes
getUrlLinkQuery
(
WxXcxAccessToken
accessToken
,
WxXcxUrlLinkQueryReq
req
)
{
WxXcxUrlLinkQueryRequest
request
=
new
WxXcxUrlLinkQueryRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/urlscheme/service/WxXcxUrlSchemeGenerateNfcService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
urlscheme
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.urlscheme.WxXcxUrlSchemeGenerateNfcReq
;
import
com.yanzuoguang.wxxcx.urlscheme.WxXcxUrlSchemeGenerateNfcRes
;
/**
* 获取用于 NFC 的小程序 scheme 码 接口
*
* @author 李贤军
*/
public
interface
WxXcxUrlSchemeGenerateNfcService
{
/**
* 获取用于 NFC 的小程序 scheme 码
*
* @param accessToken accessToken
* @param req 获取用于 NFC 的小程序 scheme 码 入参
* @return 获取用于 NFC 的小程序 scheme 码 返回
*/
WxXcxUrlSchemeGenerateNfcRes
getUrlSchemeGenerateNFC
(
WxXcxAccessToken
accessToken
,
WxXcxUrlSchemeGenerateNfcReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/urlscheme/service/WxXcxUrlSchemeGenerateService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
urlscheme
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.urlscheme.WxXcxUrlSchemeGenerateReq
;
import
com.yanzuoguang.wxxcx.urlscheme.WxXcxUrlSchemeGenerateRes
;
/**
* 获取小程序 scheme 码 接口
*
* @author 李贤军
*/
public
interface
WxXcxUrlSchemeGenerateService
{
/**
* 获取小程序 scheme 码
*
* @param accessToken accessToken
* @param req 获取小程序 scheme 码 入参
* @return 获取小程序 scheme 码 返回
*/
WxXcxUrlSchemeGenerateRes
getUrlSchemeGenerate
(
WxXcxAccessToken
accessToken
,
WxXcxUrlSchemeGenerateReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/urlscheme/service/WxXcxUrlSchemeQueryService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
urlscheme
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.urlscheme.WxXcxUrlSchemeQueryReq
;
import
com.yanzuoguang.wxxcx.urlscheme.WxXcxUrlSchemeQueryRes
;
/**
* 查询小程序 scheme 码 接口
*
* @author 李贤军
*/
public
interface
WxXcxUrlSchemeQueryService
{
/**
* 查询小程序 scheme 码
*
* @param accessToken accessToken
* @param req 查询小程序 scheme 码 入参
* @return 查询小程序 scheme 码 返回
*/
WxXcxUrlSchemeQueryRes
getUrlSchemeQuery
(
WxXcxAccessToken
accessToken
,
WxXcxUrlSchemeQueryReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/urlscheme/service/impl/WxXcxUrlSchemeGenerateNfcServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
urlscheme
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.urlscheme.WxXcxUrlSchemeGenerateNfcReq
;
import
com.yanzuoguang.wxxcx.urlscheme.WxXcxUrlSchemeGenerateNfcRequest
;
import
com.yanzuoguang.wxxcx.urlscheme.WxXcxUrlSchemeGenerateNfcRes
;
import
com.yanzuoguang.wxxcx.urlscheme.service.WxXcxUrlSchemeGenerateNfcService
;
import
org.springframework.stereotype.Component
;
/**
* 获取用于 NFC 的小程序 scheme 码 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxUrlSchemeGenerateNfcServiceImpl
implements
WxXcxUrlSchemeGenerateNfcService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxUrlSchemeGenerateNfcServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取用于 NFC 的小程序 scheme 码
*
* @param accessToken accessToken
* @param req 获取用于 NFC 的小程序 scheme 码 入参
* @return 获取用于 NFC 的小程序 scheme 码 返回
*/
@Override
public
WxXcxUrlSchemeGenerateNfcRes
getUrlSchemeGenerateNFC
(
WxXcxAccessToken
accessToken
,
WxXcxUrlSchemeGenerateNfcReq
req
)
{
WxXcxUrlSchemeGenerateNfcRequest
request
=
new
WxXcxUrlSchemeGenerateNfcRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/urlscheme/service/impl/WxXcxUrlSchemeGenerateServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
urlscheme
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.urlscheme.WxXcxUrlSchemeGenerateReq
;
import
com.yanzuoguang.wxxcx.urlscheme.WxXcxUrlSchemeGenerateRequest
;
import
com.yanzuoguang.wxxcx.urlscheme.WxXcxUrlSchemeGenerateRes
;
import
com.yanzuoguang.wxxcx.urlscheme.service.WxXcxUrlSchemeGenerateService
;
import
org.springframework.stereotype.Component
;
/**
* @author 李贤军
*/
@Component
public
class
WxXcxUrlSchemeGenerateServiceImpl
implements
WxXcxUrlSchemeGenerateService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxUrlSchemeGenerateServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取小程序 scheme 码
*
* @param accessToken accessToken
* @param req 获取小程序 scheme 码 入参
* @return 获取小程序 scheme 码 返回
*/
@Override
public
WxXcxUrlSchemeGenerateRes
getUrlSchemeGenerate
(
WxXcxAccessToken
accessToken
,
WxXcxUrlSchemeGenerateReq
req
)
{
WxXcxUrlSchemeGenerateRequest
request
=
new
WxXcxUrlSchemeGenerateRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/urlscheme/service/impl/WxXcxUrlSchemeQueryServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
urlscheme
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.urlscheme.WxXcxUrlSchemeQueryReq
;
import
com.yanzuoguang.wxxcx.urlscheme.WxXcxUrlSchemeQueryRequest
;
import
com.yanzuoguang.wxxcx.urlscheme.WxXcxUrlSchemeQueryRes
;
import
com.yanzuoguang.wxxcx.urlscheme.service.WxXcxUrlSchemeQueryService
;
import
org.springframework.stereotype.Component
;
/**
* 查询小程序 scheme 码 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxUrlSchemeQueryServiceImpl
implements
WxXcxUrlSchemeQueryService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxUrlSchemeQueryServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 查询小程序 scheme 码
*
* @param accessToken accessToken
* @param req 查询小程序 scheme 码 入参
* @return 查询小程序 scheme 码 返回
*/
@Override
public
WxXcxUrlSchemeQueryRes
getUrlSchemeQuery
(
WxXcxAccessToken
accessToken
,
WxXcxUrlSchemeQueryReq
req
)
{
WxXcxUrlSchemeQueryRequest
request
=
new
WxXcxUrlSchemeQueryRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/wxacode/service/WxXcxWxaCodeCreateQrCodeService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
wxacode
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.wxacode.WxXcxWxaCodeCreateQrCodeReq
;
import
com.yanzuoguang.wxxcx.wxacode.WxXcxWxaCodeCreateQrCodeRes
;
/**
* 获取小程序二维码 接口
*
* @author 李贤军
*/
public
interface
WxXcxWxaCodeCreateQrCodeService
{
/**
* 获取小程序二维码
*
* @param accessToken accessToken
* @param req 获取小程序二维码 入参
* @return 获取小程序二维码 返回
*/
WxXcxWxaCodeCreateQrCodeRes
getWxaCodeCreateQRCode
(
WxXcxAccessToken
accessToken
,
WxXcxWxaCodeCreateQrCodeReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/wxacode/service/WxXcxWxaCodeGetService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
wxacode
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.wxacode.WxXcxWxaCodeGetReq
;
import
com.yanzuoguang.wxxcx.wxacode.WxXcxWxaCodeGetRes
;
/**
* 获取小程序码 接口
*
* @author 李贤军
*/
public
interface
WxXcxWxaCodeGetService
{
/**
* 获取小程序码
*
* @param accessToken accessToken
* @param req 获取小程序码 入参
* @return 获取小程序码 返回
*/
WxXcxWxaCodeGetRes
getWxaCodeGet
(
WxXcxAccessToken
accessToken
,
WxXcxWxaCodeGetReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/wxacode/service/WxXcxWxaCodeGetUnlimitedService.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
wxacode
.
service
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.wxacode.WxXcxWxaCodeGetUnlimitedReq
;
import
com.yanzuoguang.wxxcx.wxacode.WxXcxWxaCodeGetUnlimitedRes
;
/**
* 获取小程序码 接口
*
* @author 李贤军
*/
public
interface
WxXcxWxaCodeGetUnlimitedService
{
/**
* 获取小程序码
*
* @param accessToken accessToken
* @param req 获取小程序码 入参
* @return 获取小程序码 返回
*/
WxXcxWxaCodeGetUnlimitedRes
getWxaCodeGetUnlimited
(
WxXcxAccessToken
accessToken
,
WxXcxWxaCodeGetUnlimitedReq
req
);
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/wxacode/service/impl/WxXcxWxaCodeCreateQrCodeServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
wxacode
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.wxacode.WxXcxWxaCodeCreateQrCodeReq
;
import
com.yanzuoguang.wxxcx.wxacode.WxXcxWxaCodeCreateQrCodeRequest
;
import
com.yanzuoguang.wxxcx.wxacode.WxXcxWxaCodeCreateQrCodeRes
;
import
com.yanzuoguang.wxxcx.wxacode.service.WxXcxWxaCodeCreateQrCodeService
;
import
org.springframework.stereotype.Component
;
/**
* 获取小程序二维码 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxWxaCodeCreateQrCodeServiceImpl
implements
WxXcxWxaCodeCreateQrCodeService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxWxaCodeCreateQrCodeServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取小程序二维码
*
* @param accessToken accessToken
* @param req 获取小程序二维码 入参
* @return 获取小程序二维码 返回
*/
@Override
public
WxXcxWxaCodeCreateQrCodeRes
getWxaCodeCreateQRCode
(
WxXcxAccessToken
accessToken
,
WxXcxWxaCodeCreateQrCodeReq
req
)
{
WxXcxWxaCodeCreateQrCodeRequest
request
=
new
WxXcxWxaCodeCreateQrCodeRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/wxacode/service/impl/WxXcxWxaCodeGetServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
wxacode
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.wxacode.WxXcxWxaCodeGetReq
;
import
com.yanzuoguang.wxxcx.wxacode.WxXcxWxaCodeGetRequest
;
import
com.yanzuoguang.wxxcx.wxacode.WxXcxWxaCodeGetRes
;
import
com.yanzuoguang.wxxcx.wxacode.service.WxXcxWxaCodeGetService
;
import
org.springframework.stereotype.Component
;
/**
* 获取小程序码 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxWxaCodeGetServiceImpl
implements
WxXcxWxaCodeGetService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxWxaCodeGetServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取小程序码
*
* @param accessToken accessToken
* @param req 获取小程序码 入参
* @return 获取小程序码 返回
*/
@Override
public
WxXcxWxaCodeGetRes
getWxaCodeGet
(
WxXcxAccessToken
accessToken
,
WxXcxWxaCodeGetReq
req
)
{
WxXcxWxaCodeGetRequest
request
=
new
WxXcxWxaCodeGetRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
yzg-util-wxxcx/src/main/java/com/yanzuoguang/wxxcx/wxacode/service/impl/WxXcxWxaCodeGetUnlimitedServiceImpl.java
0 → 100644
View file @
7ab504bc
package
com
.
yanzuoguang
.
wxxcx
.
wxacode
.
service
.
impl
;
import
com.yanzuoguang.wxxcx.base.WxXcxAccessToken
;
import
com.yanzuoguang.wxxcx.base.WxXcxConfig
;
import
com.yanzuoguang.wxxcx.base.WxXcxRequest
;
import
com.yanzuoguang.wxxcx.wxacode.WxXcxWxaCodeGetUnlimitedReq
;
import
com.yanzuoguang.wxxcx.wxacode.WxXcxWxaCodeGetUnlimitedRequest
;
import
com.yanzuoguang.wxxcx.wxacode.WxXcxWxaCodeGetUnlimitedRes
;
import
com.yanzuoguang.wxxcx.wxacode.service.WxXcxWxaCodeGetUnlimitedService
;
import
org.springframework.stereotype.Component
;
/**
* 获取小程序码 实现
*
* @author 李贤军
*/
@Component
public
class
WxXcxWxaCodeGetUnlimitedServiceImpl
implements
WxXcxWxaCodeGetUnlimitedService
{
private
final
WxXcxConfig
wxXcxConfig
;
private
final
WxXcxRequest
wxXcxRequest
;
public
WxXcxWxaCodeGetUnlimitedServiceImpl
(
WxXcxConfig
wxXcxConfig
,
WxXcxRequest
wxXcxRequest
)
{
this
.
wxXcxConfig
=
wxXcxConfig
;
this
.
wxXcxRequest
=
wxXcxRequest
;
}
/**
* 获取小程序码
*
* @param accessToken accessToken
* @param req 获取小程序码 入参
* @return 获取小程序码 返回
*/
@Override
public
WxXcxWxaCodeGetUnlimitedRes
getWxaCodeGetUnlimited
(
WxXcxAccessToken
accessToken
,
WxXcxWxaCodeGetUnlimitedReq
req
)
{
WxXcxWxaCodeGetUnlimitedRequest
request
=
new
WxXcxWxaCodeGetUnlimitedRequest
(
wxXcxConfig
,
wxXcxRequest
,
accessToken
,
req
);
return
request
.
getResponse
();
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment