| | |
| | | |
| | | import cc.mrbird.febs.common.properties.XcxProperties; |
| | | import cc.mrbird.febs.common.utils.AppContants; |
| | | import cc.mrbird.febs.common.utils.SpringContextHolder; |
| | | import cc.mrbird.febs.mall.entity.MallInvoice; |
| | | import cc.mrbird.febs.mall.entity.MallOrderInfo; |
| | | import cc.mrbird.febs.mall.entity.MallOrderItem; |
| | |
| | | private final MallOrderInfoMapper mallOrderInfoMapper; |
| | | private final MallOrderItemMapper mallOrderItemMapper; |
| | | private final MallInvoiceMapper mallInvoiceMapper; |
| | | |
| | | private final XcxProperties xcxProperties = SpringContextHolder.getBean(XcxProperties.class); |
| | | private final XcxProperties xcxProperties; |
| | | |
| | | @Override |
| | | public String createAuthorization(String method, String canonicalUrl, String body, PrivateKey keyPair) throws UnsupportedEncodingException, NoSuchAlgorithmException { |
| | |
| | | //初始化请求参数 |
| | | Map<String, Object> params = new HashMap<>(); |
| | | params.put("scene","WITH_WECHATPAY"); |
| | | params.put("fapiao_apply_id","4200002070202401175245187105"); |
| | | // params.put("fapiao_apply_id","4200002070202401175245187105"); |
| | | params.put("fapiao_apply_id",fapiaoApplyId); |
| | | |
| | | String baseUrl = "https://api.mch.weixin.qq.com"; |
| | | String canonicalUrl = "/v3/new-tax-control-fapiao/user-title"; |