Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-wx-store-sharer
Overview
Overview
Details
Activity
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
wx
yanxuan-wx-store-sharer
Commits
a59e74b5
Commit
a59e74b5
authored
Mar 12, 2025
by
fanjiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码初始化
parent
627087e8
Pipeline
#71448
passed with stages
in 1 minute 8 seconds
Changes
5
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
60 additions
and
20 deletions
+60
-20
DrmSharerConfig.java
...e/yanxuan/wx/store/sharer/biz/config/DrmSharerConfig.java
+54
-8
WebConfig.java
...netease/yanxuan/wx/store/sharer/biz/config/WebConfig.java
+1
-1
CommissionSharerBO.java
...wx/store/sharer/biz/meta/model/bo/CommissionSharerBO.java
+0
-4
CommissionSharerProductBO.java
...e/sharer/biz/meta/model/bo/CommissionSharerProductBO.java
+0
-4
TestController.java
...anxuan/wx/store/sharer/web/controller/TestController.java
+5
-3
No files found.
yanxuan-wx-store-sharer-biz/src/main/java/com/netease/yanxuan/wx/store/sharer/biz/config/DrmSharerConfig.java
View file @
a59e74b5
This diff is collapsed.
Click to expand it.
yanxuan-wx-store-sharer-biz/src/main/java/com/netease/yanxuan/wx/store/sharer/biz/config/WebConfig.java
View file @
a59e74b5
...
@@ -19,7 +19,7 @@ import java.util.Collections;
...
@@ -19,7 +19,7 @@ import java.util.Collections;
public
class
WebConfig
implements
WebMvcConfigurer
{
public
class
WebConfig
implements
WebMvcConfigurer
{
private
final
AuthInterceptor
authInterceptor
;
private
final
AuthInterceptor
authInterceptor
;
private
static
final
String
[]
EXCLUDE_URLS
=
{
"/open/**"
,
"/i/health"
,
"/user/login"
,
"/product/page/list"
};
private
static
final
String
[]
EXCLUDE_URLS
=
{
"/open/**"
,
"/
test/**"
,
"/
i/health"
,
"/user/login"
,
"/product/page/list"
};
@Override
@Override
public
void
addInterceptors
(
InterceptorRegistry
registry
)
{
public
void
addInterceptors
(
InterceptorRegistry
registry
)
{
...
...
yanxuan-wx-store-sharer-biz/src/main/java/com/netease/yanxuan/wx/store/sharer/biz/meta/model/bo/CommissionSharerBO.java
View file @
a59e74b5
...
@@ -19,10 +19,6 @@ public class CommissionSharerBO implements Serializable {
...
@@ -19,10 +19,6 @@ public class CommissionSharerBO implements Serializable {
*/
*/
private
String
openId
;
private
String
openId
;
/**
/**
* 推客ID
*/
private
String
sharerId
;
/**
* 分佣比例
* 分佣比例
*/
*/
private
BigDecimal
CommissionRatio
;
private
BigDecimal
CommissionRatio
;
...
...
yanxuan-wx-store-sharer-biz/src/main/java/com/netease/yanxuan/wx/store/sharer/biz/meta/model/bo/CommissionSharerProductBO.java
View file @
a59e74b5
...
@@ -19,10 +19,6 @@ public class CommissionSharerProductBO implements Serializable {
...
@@ -19,10 +19,6 @@ public class CommissionSharerProductBO implements Serializable {
*/
*/
private
String
openId
;
private
String
openId
;
/**
/**
* 推客ID
*/
private
String
sharerId
;
/**
* 商品ID
* 商品ID
*/
*/
private
Integer
productId
;
private
Integer
productId
;
...
...
yanxuan-wx-store-sharer-web/src/main/java/com/netease/yanxuan/wx/store/sharer/web/controller/TestController.java
View file @
a59e74b5
...
@@ -8,7 +8,8 @@ package com.netease.yanxuan.wx.store.sharer.web.controller;
...
@@ -8,7 +8,8 @@ package com.netease.yanxuan.wx.store.sharer.web.controller;
import
com.netease.yanxuan.wx.store.sharer.common.core.Result
;
import
com.netease.yanxuan.wx.store.sharer.common.core.Result
;
import
com.netease.yanxuan.wx.store.sharer.integration.handler.impl.WeChatAccessTokenRequest
;
import
com.netease.yanxuan.wx.store.sharer.integration.handler.impl.WeChatAccessTokenRequest
;
import
com.netease.yanxuan.wx.store.sharer.integration.meta.model.vo.WeChatAccessTokenVO
;
import
com.netease.yanxuan.wx.store.sharer.integration.handler.impl.WeChatUserInfoRequest
;
import
com.netease.yanxuan.wx.store.sharer.integration.meta.model.vo.WeChatUserInfoVO
;
import
lombok.RequiredArgsConstructor
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
...
@@ -22,10 +23,11 @@ import org.springframework.web.bind.annotation.RestController;
...
@@ -22,10 +23,11 @@ import org.springframework.web.bind.annotation.RestController;
@RequiredArgsConstructor
@RequiredArgsConstructor
public
class
TestController
{
public
class
TestController
{
private
final
WeChatAccessTokenRequest
weChatAccessTokenRequest
;
private
final
WeChatAccessTokenRequest
weChatAccessTokenRequest
;
private
final
WeChatUserInfoRequest
weChatUserInfoRequest
;
@RequestMapping
(
"/token"
)
@RequestMapping
(
"/token"
)
public
Result
<
WeChat
AccessToken
VO
>
token
()
{
public
Result
<
WeChat
UserInfo
VO
>
token
()
{
WeChat
AccessTokenVO
handle
=
weChatAccessTokenRequest
.
handle
(
);
WeChat
UserInfoVO
handle
=
weChatUserInfoRequest
.
handle
(
"0f11uE0w3hIUx43hre0w3NwgHb31uE0Z"
);
return
Result
.
ok
(
handle
);
return
Result
.
ok
(
handle
);
...
...
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