tech.mhuang.ext.interchan.payment.wechat.util.WechatConfigUtil Maven / Gradle / Ivy
package tech.mhuang.ext.interchan.payment.wechat.util;
import tech.mhuang.core.date.DatePattern;
import tech.mhuang.core.date.DateTimeUtil;
import java.time.LocalDateTime;
import java.util.SortedMap;
/**
*
* 微信配置URL
*
* @author mhuang
* @since 1.0.0
*/
public class WechatConfigUtil {
public final static String UNIFIED_ORDER_URL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
public final static String REFUND_URL = "https://api.mch.weixin.qq.com/secapi/pay/refund";
/**
* 基础参数
* @param packageParams 存放的map
* @param appId appid
* @param mchId 商户id
*/
public static void commonParams(SortedMap