From cfeca361311321474e2ed147db874946c652fc92 Mon Sep 17 00:00:00 2001 From: jiangqs <343695869@qq.com> Date: 星期日, 06 八月 2023 17:56:03 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/HongRuiTang --- ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/util/WechatPayUtils.java | 22 ++++++---------------- 1 files changed, 6 insertions(+), 16 deletions(-) diff --git a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/util/WechatPayUtils.java b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/util/WechatPayUtils.java index 14eae48..45e1ce1 100644 --- a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/util/WechatPayUtils.java +++ b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/util/WechatPayUtils.java @@ -1,18 +1,8 @@ package com.ruoyi.shop.util; -import com.github.binarywang.wxpay.bean.ecommerce.ApplymentsRequest; -import com.github.binarywang.wxpay.bean.ecommerce.ApplymentsResult; -import com.github.binarywang.wxpay.bean.ecommerce.ApplymentsStatusResult; import com.github.binarywang.wxpay.exception.WxPayException; -import com.github.binarywang.wxpay.service.EcommerceService; -import com.github.binarywang.wxpay.service.WxPayService; -import com.ruoyi.shop.domain.pojo.shop.ShopAuthentication; -import com.ruoyi.system.api.domain.poji.shop.Shop; import lombok.AllArgsConstructor; import org.springframework.stereotype.Component; - -import java.util.ArrayList; -import java.util.List; /** * 微信支付 @@ -21,11 +11,11 @@ @AllArgsConstructor public class WechatPayUtils { - private final WxPayService wxService; + /*private final WxPayService wxService; - /** + *//** * 电商二级商户进件(提交申请单) - */ + *//* public ApplymentsResult ecommerceApply(ShopAuthentication shopAuthentication, String applyNumber, Shop shop) throws WxPayException { EcommerceService ecommerceService = wxService.getEcommerceService(); ApplymentsRequest request = new ApplymentsRequest(); @@ -110,14 +100,14 @@ } - /** + *//** * 通过查询申请状态API查询二级商户入驻申请结果 * @param applymentId 微信支付申请单号 * @return 申请状态 * @throws WxPayException - */ + *//* public ApplymentsStatusResult queryApplyStatusByApplymentId(String applymentId) throws WxPayException { return wxService.getEcommerceService().queryApplyStatusByApplymentId(applymentId); - } + }*/ } -- Gitblit v1.7.1