| | |
| | | import com.ruoyi.system.api.domain.GoodsGroupPurchase; |
| | | import com.ruoyi.system.api.domain.GoodsGroupPurchaseInfo; |
| | | import com.ruoyi.system.api.domain.GoodsSku; |
| | | import com.ruoyi.system.api.domain.Member; |
| | | import com.ruoyi.system.api.domain.Order; |
| | | import com.ruoyi.system.api.domain.OrderAuctionBond; |
| | | import com.ruoyi.system.api.domain.dto.MemberPointsDTO; |
| | |
| | | private PaylogMapper paylogMapper; |
| | | |
| | | @Override |
| | | public R<Map<String, Object>> getPayInfo(Integer uid, Integer type, String orderNO,String openId, HttpServletRequest request) { |
| | | public R<Map<String, Object>> getPayInfo(Long uid, Integer type, String orderNO, String openId, |
| | | HttpServletRequest request) { |
| | | Member member = memberClient.getMembeOne(uid, SecurityConstants.INNER).getData(); |
| | | openId = member.getMiniOpenid(); |
| | | Double price = 0.0; |
| | | String subject; |
| | | String body; |
| | |
| | | System.out.println("证书: " + Configure.getCertLocalPath_2()); |
| | | |
| | | String xmlResult = WxPayApi.orderRefund(false, paraMap,Configure.getCertLocalPath_2(), Configure.getMchid()); |
| | | |
| | | System.out.println("微信退款结果: " + xmlResult); |
| | | return true; |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | refundForWxpay(4, "4200002335202408022336923702", |
| | | "BO24080216090001", "R123456789", 1, 1, "2"); |
| | | } |
| | | /** |
| | | * 获取支付宝 |
| | | * |