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
639eafeb
Commit
639eafeb
authored
Mar 13, 2025
by
fanjiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
联调问题处理
parent
79a76339
Pipeline
#71567
passed with stages
in 57 seconds
Changes
10
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
12 additions
and
12 deletions
+12
-12
DrmSharerConfig.java
...e/yanxuan/wx/store/sharer/biz/config/DrmSharerConfig.java
+2
-2
ProductServiceImpl.java
.../wx/store/sharer/biz/service/impl/ProductServiceImpl.java
+2
-2
WeChatShopGetSharerProductCommissionRequest.java
...ler/impl/WeChatShopGetSharerProductCommissionRequest.java
+1
-1
WeChatShopPromoteProductDetailRequest.java
...n/handler/impl/WeChatShopPromoteProductDetailRequest.java
+1
-1
WeChatShopPromoteProductLinkRequest.java
...ion/handler/impl/WeChatShopPromoteProductLinkRequest.java
+1
-1
WeChatShopSetSharerProductCommissionRequest.java
...ler/impl/WeChatShopSetSharerProductCommissionRequest.java
+1
-1
WeChatGetSharerProductCommissionBO.java
...ion/meta/model/bo/WeChatGetSharerProductCommissionBO.java
+1
-1
WeChatPromoteProductDetailBO.java
...tegration/meta/model/bo/WeChatPromoteProductDetailBO.java
+1
-1
WeChatPromoteProductLinkBO.java
...integration/meta/model/bo/WeChatPromoteProductLinkBO.java
+1
-1
WeChatSetSharerProductCommissionBO.java
...ion/meta/model/bo/WeChatSetSharerProductCommissionBO.java
+1
-1
No files found.
yanxuan-wx-store-sharer-biz/src/main/java/com/netease/yanxuan/wx/store/sharer/biz/config/DrmSharerConfig.java
View file @
639eafeb
...
...
@@ -365,7 +365,7 @@ public class DrmSharerConfig {
boolean
isSuccess
=
false
;
try
{
// 设置推客分佣比例
weChatShopSetSharerProductCommissionRequest
.
handle
(
sharerAppid
,
newBo
.
getProductId
(
),
commissionRatio
.
toPlainString
());
weChatShopSetSharerProductCommissionRequest
.
handle
(
sharerAppid
,
Integer
.
valueOf
(
newBo
.
getProductId
()
),
commissionRatio
.
toPlainString
());
isSuccess
=
true
;
}
catch
(
Exception
e
)
{
log
.
error
(
"设置推客的的分佣类型和比例信息失败"
,
e
);
...
...
@@ -391,7 +391,7 @@ public class DrmSharerConfig {
try
{
// 设置推客分佣比例
weChatShopSetSharerProductCommissionRequest
.
handle
(
sharerAppid
,
oldBo
.
getProductId
(
),
null
);
Integer
.
valueOf
(
oldBo
.
getProductId
()
),
null
);
isSuccess
=
true
;
}
catch
(
Exception
e
)
{
log
.
error
(
"设置推客的的分佣类型和比例信息失败"
,
e
);
...
...
yanxuan-wx-store-sharer-biz/src/main/java/com/netease/yanxuan/wx/store/sharer/biz/service/impl/ProductServiceImpl.java
View file @
639eafeb
...
...
@@ -54,7 +54,7 @@ public class ProductServiceImpl implements IProductService {
.
stream
()
.
map
(
item
->
{
WeChatPromoteProductDetailVO
detailVO
=
weChatShopPromoteProductDetailRequest
.
handle
(
item
.
getShop_appid
(),
item
.
getProduct_id
(
));
Integer
.
valueOf
(
item
.
getProduct_id
()
));
if
(
null
==
detailVO
)
{
return
null
;
}
...
...
@@ -102,7 +102,7 @@ public class ProductServiceImpl implements IProductService {
listVO
.
setShopAppid
(
item
.
getShop_appid
());
listVO
.
setProductId
(
item
.
getProduct_id
());
// 获取推广链接
WeChatPromoteProductLinkVO
promoteProductLinkVO
=
weChatShopPromoteProductLinkRequest
.
handle
(
item
.
getProduct_id
(
),
WeChatPromoteProductLinkVO
promoteProductLinkVO
=
weChatShopPromoteProductLinkRequest
.
handle
(
Integer
.
valueOf
(
item
.
getProduct_id
()
),
item
.
getShop_appid
());
listVO
.
setProductUrl
(
null
!=
promoteProductLinkVO
?
promoteProductLinkVO
.
getShort_link
()
:
null
);
return
listVO
;
...
...
yanxuan-wx-store-sharer-integration/src/main/java/com/netease/yanxuan/wx/store/sharer/integration/handler/impl/WeChatShopGetSharerProductCommissionRequest.java
View file @
639eafeb
...
...
@@ -41,7 +41,7 @@ public class WeChatShopGetSharerProductCommissionRequest implements IWeChatReque
/**
* 处理
*/
public
WeChatGetSharerProductCommissionVO
handle
(
String
sharerAppid
,
String
productId
)
{
public
WeChatGetSharerProductCommissionVO
handle
(
String
sharerAppid
,
Integer
productId
)
{
WeChatGetSharerProductCommissionBO
params
=
WeChatGetSharerProductCommissionBO
.
builder
()
.
sharer_appid
(
sharerAppid
)
.
product_id
(
productId
)
...
...
yanxuan-wx-store-sharer-integration/src/main/java/com/netease/yanxuan/wx/store/sharer/integration/handler/impl/WeChatShopPromoteProductDetailRequest.java
View file @
639eafeb
...
...
@@ -42,7 +42,7 @@ public class WeChatShopPromoteProductDetailRequest implements IWeChatRequest {
/**
* 处理
*/
public
WeChatPromoteProductDetailVO
handle
(
String
shopAppid
,
String
productId
)
{
public
WeChatPromoteProductDetailVO
handle
(
String
shopAppid
,
Integer
productId
)
{
WeChatPromoteProductDetailBO
params
=
WeChatPromoteProductDetailBO
.
builder
()
.
plan_type
(
ProductPlanTypeEnum
.
OPEN
.
getCode
())
.
shop_appid
(
shopAppid
)
...
...
yanxuan-wx-store-sharer-integration/src/main/java/com/netease/yanxuan/wx/store/sharer/integration/handler/impl/WeChatShopPromoteProductLinkRequest.java
View file @
639eafeb
...
...
@@ -41,7 +41,7 @@ public class WeChatShopPromoteProductLinkRequest implements IWeChatRequest {
/**
* 处理
*/
public
WeChatPromoteProductLinkVO
handle
(
String
productId
,
String
shopAppid
)
{
public
WeChatPromoteProductLinkVO
handle
(
Integer
productId
,
String
shopAppid
)
{
WeChatPromoteProductLinkBO
params
=
WeChatPromoteProductLinkBO
.
builder
()
.
product_id
(
productId
)
.
shop_appid
(
shopAppid
)
...
...
yanxuan-wx-store-sharer-integration/src/main/java/com/netease/yanxuan/wx/store/sharer/integration/handler/impl/WeChatShopSetSharerProductCommissionRequest.java
View file @
639eafeb
...
...
@@ -41,7 +41,7 @@ public class WeChatShopSetSharerProductCommissionRequest implements IWeChatReque
/**
* 处理
*/
public
WeChatCoreVO
handle
(
String
sharerAppid
,
String
productId
,
String
commissionRatio
)
{
public
WeChatCoreVO
handle
(
String
sharerAppid
,
Integer
productId
,
String
commissionRatio
)
{
WeChatSetSharerProductCommissionBO
params
=
WeChatSetSharerProductCommissionBO
.
builder
()
.
sharer_appid
(
sharerAppid
)
.
product_id
(
productId
)
...
...
yanxuan-wx-store-sharer-integration/src/main/java/com/netease/yanxuan/wx/store/sharer/integration/meta/model/bo/WeChatGetSharerProductCommissionBO.java
View file @
639eafeb
...
...
@@ -22,5 +22,5 @@ public class WeChatGetSharerProductCommissionBO implements Serializable {
/**
* 商品列表
*/
private
String
product_id
;
private
Integer
product_id
;
}
yanxuan-wx-store-sharer-integration/src/main/java/com/netease/yanxuan/wx/store/sharer/integration/meta/model/bo/WeChatPromoteProductDetailBO.java
View file @
639eafeb
...
...
@@ -22,7 +22,7 @@ public class WeChatPromoteProductDetailBO implements Serializable {
/**
* 商品id
*/
private
String
product_id
;
private
Integer
product_id
;
/**
* 商品的计划类型 1:定向计划 2:公开计划
*/
...
...
yanxuan-wx-store-sharer-integration/src/main/java/com/netease/yanxuan/wx/store/sharer/integration/meta/model/bo/WeChatPromoteProductLinkBO.java
View file @
639eafeb
...
...
@@ -26,7 +26,7 @@ public class WeChatPromoteProductLinkBO implements Serializable {
/**
* 商品 id,如果使用该参数,需要传入shop_appid
*/
private
String
product_id
;
private
Integer
product_id
;
/**
* 商品所属店铺 appid
*/
...
...
yanxuan-wx-store-sharer-integration/src/main/java/com/netease/yanxuan/wx/store/sharer/integration/meta/model/bo/WeChatSetSharerProductCommissionBO.java
View file @
639eafeb
...
...
@@ -22,7 +22,7 @@ public class WeChatSetSharerProductCommissionBO implements Serializable {
/**
* 商品列表
*/
private
String
product_id
;
private
Integer
product_id
;
/**
* 平台分佣时的分佣比例,范围为【100000 - 900000】,代表【10%-90%】
*/
...
...
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