111
This commit is contained in:
1 parent
0f25f7abf4
commit
8519fed2de
1 file changed
+6
-1
+6
-1
@@ -99,7 +99,12 @@ public class ThirdAppPlusWechatServiceImpl implements ThirdAppPlusWechatService
|
||||
amount.setCurrency("CNY");
|
||||
// 分账
|
||||
SettleInfo settleInfo = new SettleInfo();
|
||||
settleInfo.setProfitSharing(true);
|
||||
settleInfo.setProfitSharing(false);
|
||||
// 是否需要分账
|
||||
if (ObjectUtil.isNotEmpty(setting) && ObjectUtil.isNotEmpty(setting.getFzRatio()) && setting.getFzRatio() > 0) {
|
||||
settleInfo.setProfitSharing(true);
|
||||
}
|
||||
|
||||
PrepayRequest request = new PrepayRequest();
|
||||
request.setAmount(amount);
|
||||
request.setSpAppid(wechatConfig.getAppPlatformAppId());
|
||||
|
||||
Reference in new issue
Block a user