mitao
2024-09-09 cf98926793932b132000e237a487ba4343084410
xinquan-modules/xinquan-order/src/main/java/com/xinquan/order/utils/JuHeFuUtil.java
@@ -106,7 +106,7 @@
     * @return JSONObject
     * @throws Exception
     */
    public JSONObject createPayment(String orderNo, Integer payChannel, String payAmt,
    public static JSONObject createPayment(String orderNo, Integer payChannel, String payAmt,
            String goodsTitle, String goodsDesc, String deviceIp, String openId,
            String notifyUrl) throws Exception {
        JSONObject data = new JSONObject();
@@ -153,7 +153,7 @@
     * @param orderNo   订单号
     * @return
     */
    public boolean refund(String paymentId, String orderNo) throws Exception {
    public static boolean refund(String paymentId, String orderNo) throws Exception {
        JSONObject data = new JSONObject();
        data.put("payment_id", paymentId);
        data.put("order_no", orderNo);
@@ -185,7 +185,7 @@
     * @return
     * @throws Exception
     */
    public boolean merchantPay(String orderNo, String payAmt, String cardName, String cardId,
    public static boolean merchantPay(String orderNo, String payAmt, String cardName, String cardId,
            String cardType)
            throws Exception {
        JSONObject data = new JSONObject();