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
79ecf494
Commit
79ecf494
authored
Mar 18, 2025
by
fanjiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改为定向计划
parent
4c649de3
Pipeline
#71805
passed with stages
in 1 minute 3 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
ProductServiceImpl.java
.../wx/store/sharer/biz/service/impl/ProductServiceImpl.java
+2
-0
WeChatPromoteProductListVO.java
...integration/meta/model/vo/WeChatPromoteProductListVO.java
+2
-0
No files found.
yanxuan-wx-store-sharer-biz/src/main/java/com/netease/yanxuan/wx/store/sharer/biz/service/impl/ProductServiceImpl.java
View file @
79ecf494
...
...
@@ -105,6 +105,8 @@ public class ProductServiceImpl implements IProductService {
if
(
null
!=
price
&&
null
!=
commissionRatio
&&
null
!=
serviceRatio
)
{
commission
=
price
.
multiply
(
serviceRatio
).
multiply
(
commissionRatio
)
.
setScale
(
2
,
RoundingMode
.
HALF_UP
);
log
.
info
(
"商品ID:{},计算佣金,价格:{},服务费率:{},推客分佣比例:{},佣金:{}"
,
item
.
getProduct_id
(),
price
,
serviceRatio
,
commissionRatio
,
commission
);
}
listVO
.
setCommission
(
commission
);
listVO
.
setShopAppid
(
item
.
getShop_appid
());
...
...
yanxuan-wx-store-sharer-integration/src/main/java/com/netease/yanxuan/wx/store/sharer/integration/meta/model/vo/WeChatPromoteProductListVO.java
View file @
79ecf494
package
com
.
netease
.
yanxuan
.
wx
.
store
.
sharer
.
integration
.
meta
.
model
.
vo
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.util.List
;
...
...
@@ -10,6 +11,7 @@ import java.util.List;
* @Date 2025/3/11 19:05
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
public
class
WeChatPromoteProductListVO
extends
WeChatCoreVO
{
private
static
final
long
serialVersionUID
=
8529644543147459802L
;
...
...
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