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
3a7de59f
Commit
3a7de59f
authored
Mar 14, 2025
by
fanjiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
联调问题处理
parent
423b93ce
Pipeline
#71606
passed with stages
in 1 minute 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
ProductListVO.java
...xuan/wx/store/sharer/biz/meta/model/vo/ProductListVO.java
+4
-0
ProductServiceImpl.java
.../wx/store/sharer/biz/service/impl/ProductServiceImpl.java
+1
-1
No files found.
yanxuan-wx-store-sharer-biz/src/main/java/com/netease/yanxuan/wx/store/sharer/biz/meta/model/vo/ProductListVO.java
View file @
3a7de59f
...
@@ -37,4 +37,8 @@ public class ProductListVO implements Serializable {
...
@@ -37,4 +37,8 @@ public class ProductListVO implements Serializable {
* 商品ID
* 商品ID
*/
*/
private
String
productId
;
private
String
productId
;
/**
* 商品卡片透传参数【注意:内嵌商品卡片时一定要传,不然会归因失败】
*/
private
String
productPromotionLink
;
}
}
yanxuan-wx-store-sharer-biz/src/main/java/com/netease/yanxuan/wx/store/sharer/biz/service/impl/ProductServiceImpl.java
View file @
3a7de59f
...
@@ -83,7 +83,6 @@ public class ProductServiceImpl implements IProductService {
...
@@ -83,7 +83,6 @@ public class ProductServiceImpl implements IProductService {
price
=
priceOpt
.
get
().
divide
(
new
BigDecimal
(
"100"
));
price
=
priceOpt
.
get
().
divide
(
new
BigDecimal
(
"100"
));
listVO
.
setPrice
(
price
.
setScale
(
2
,
RoundingMode
.
HALF_UP
));
listVO
.
setPrice
(
price
.
setScale
(
2
,
RoundingMode
.
HALF_UP
));
}
}
// 推客分佣比例
// 推客分佣比例
BigDecimal
commissionRatio
=
drmSharerConfig
.
getDefaultCommissionRatio
();
BigDecimal
commissionRatio
=
drmSharerConfig
.
getDefaultCommissionRatio
();
// 获取用户信息
// 获取用户信息
...
@@ -117,6 +116,7 @@ public class ProductServiceImpl implements IProductService {
...
@@ -117,6 +116,7 @@ public class ProductServiceImpl implements IProductService {
listVO
.
setCommission
(
commission
);
listVO
.
setCommission
(
commission
);
listVO
.
setShopAppid
(
item
.
getShop_appid
());
listVO
.
setShopAppid
(
item
.
getShop_appid
());
listVO
.
setProductId
(
item
.
getProduct_id
());
listVO
.
setProductId
(
item
.
getProduct_id
());
listVO
.
setProductPromotionLink
(
productInfo
.
getProduct_promotion_link
());
return
listVO
;
return
listVO
;
});
});
// 过滤空
// 过滤空
...
...
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