Commit 5a983be6 by fanjiaxin

分佣配置结构调整

parent d9d671f3
Pipeline #71722 passed with stages
in 1 minute 5 seconds
...@@ -423,7 +423,7 @@ public class DrmSharerConfig { ...@@ -423,7 +423,7 @@ public class DrmSharerConfig {
boolean isSuccess = false; boolean isSuccess = false;
try { try {
// 获取推客的分佣比例 // 获取推客的分佣比例
BigDecimal sharerCommissionRatio = getSharerCommissionRatio(sharerInfo.getOpenId()); BigDecimal sharerCommissionRatio = new BigDecimal(sharerInfo.getCommissionRatio());
if (StringUtils.isNotBlank(sharerInfo.getSharerAppid())) { if (StringUtils.isNotBlank(sharerInfo.getSharerAppid())) {
// 分佣比例为小数, 微信接口参数应当分佣比例*倍数 为整数 // 分佣比例为小数, 微信接口参数应当分佣比例*倍数 为整数
sharerCommissionRatio = sharerCommissionRatio sharerCommissionRatio = sharerCommissionRatio
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment