|
@@ -1,13 +1,13 @@
|
|
|
package com.zswl.cloud.springBtach.server.core.service;
|
|
|
|
|
|
import com.github.microservice.auth.client.content.ResultContent;
|
|
|
-import com.github.microservice.auth.client.content.ResultState;
|
|
|
import com.github.microservice.auth.security.helper.AuthHelper;
|
|
|
import com.zhongshu.payment.client.model.order.AdminSeachOrderModel;
|
|
|
import com.zhongshu.payment.client.model.order.v2.ApplicantRefundParam2Model;
|
|
|
import com.zhongshu.payment.client.model.order.v2.RefundParam2Model;
|
|
|
import com.zhongshu.payment.client.model.order.v2.WithdrawRequestModel;
|
|
|
import com.zhongshu.payment.client.model.payment.QueryResponseModel;
|
|
|
+import com.zhongshu.payment.client.model.payment.zswl.ApplyWithdrawalsModel;
|
|
|
import com.zhongshu.payment.client.model.payment.zswl.CreatePayment2Model;
|
|
|
import com.zhongshu.payment.client.model.payment.zswl.CreatePaymentModel;
|
|
|
import com.zhongshu.payment.client.model.payment.zswl.SyncInformModel;
|
|
@@ -87,12 +87,17 @@ public class PaymentService {
|
|
|
return paymentService2.getDetail(channel.name());
|
|
|
}
|
|
|
|
|
|
- public ResultContent withdrawals() {
|
|
|
- return paymentService2.applicationWithdrawals(authHelper.getEnterPriseId());
|
|
|
+ public ResultContent withdrawals(ApplyWithdrawalsModel applyWithdrawalsModel) {
|
|
|
+ applyWithdrawalsModel.setShopId(authHelper.getEnterPriseId());
|
|
|
+ applyWithdrawalsModel.setPlatform(false);
|
|
|
+ return paymentService2.applicationWithdrawals(applyWithdrawalsModel);
|
|
|
}
|
|
|
|
|
|
public ResultContent withdrawalsPlatform(Channel channel) {
|
|
|
- return paymentService2.applicationWithdrawals(channel.name());
|
|
|
+ ApplyWithdrawalsModel applyWithdrawalsModel = new ApplyWithdrawalsModel();
|
|
|
+ applyWithdrawalsModel.setShopId(channel.name());
|
|
|
+ applyWithdrawalsModel.setPlatform(true);
|
|
|
+ return paymentService2.applicationWithdrawals(applyWithdrawalsModel);
|
|
|
}
|
|
|
|
|
|
public ResultContent withdrawalsList(WithdrawRequestModel withdrawRequestModel) {
|