|
@@ -10,6 +10,7 @@ import com.zhongshu.payment.client.model.order.v2.WithdrawRequestModel;
|
|
import com.zhongshu.payment.client.model.payment.QueryResponseModel;
|
|
import com.zhongshu.payment.client.model.payment.QueryResponseModel;
|
|
import com.zhongshu.payment.client.model.payment.zswl.CreatePayment2Model;
|
|
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.CreatePaymentModel;
|
|
|
|
+import com.zhongshu.payment.client.model.payment.zswl.SyncInformModel;
|
|
import com.zhongshu.payment.client.service.v2.PaymentService2;
|
|
import com.zhongshu.payment.client.service.v2.PaymentService2;
|
|
import com.zswl.cloud.shop.client.service.GoodsService;
|
|
import com.zswl.cloud.shop.client.service.GoodsService;
|
|
import org.springframework.beans.BeanUtils;
|
|
import org.springframework.beans.BeanUtils;
|
|
@@ -105,6 +106,7 @@ public class PaymentService {
|
|
withdrawRequestModel.setShopId(enterPriseId);
|
|
withdrawRequestModel.setShopId(enterPriseId);
|
|
return paymentService2.withdrawalsList(withdrawRequestModel);
|
|
return paymentService2.withdrawalsList(withdrawRequestModel);
|
|
}
|
|
}
|
|
|
|
+
|
|
public ResultContent withdrawalsPlatformList(WithdrawRequestModel withdrawRequestModel) {
|
|
public ResultContent withdrawalsPlatformList(WithdrawRequestModel withdrawRequestModel) {
|
|
withdrawRequestModel.setShopId("PLATFORM");
|
|
withdrawRequestModel.setShopId("PLATFORM");
|
|
|
|
|
|
@@ -121,5 +123,10 @@ public class PaymentService {
|
|
return paymentService2.subOrdersConfirm(goodsId, useShopId);
|
|
return paymentService2.subOrdersConfirm(goodsId, useShopId);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public String sync(SyncInformModel syncInformModel) {
|
|
|
|
+ paymentService2.sync(syncInformModel);
|
|
|
|
+ return "SUCCESS";
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
}
|
|
}
|