提交修改
This commit is contained in:
parent
8e28856845
commit
3ea8bc5a2a
@ -6,7 +6,6 @@ import com.heyu.api.jsapi.dto.DirectAPIv3JsapiPrepayRequest;
|
||||
import com.heyu.api.jsapi.dto.DirectAPIv3JsapiPrepayResponse;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import okhttp3.*;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.UncheckedIOException;
|
||||
@ -17,7 +16,7 @@ import java.security.PublicKey;
|
||||
/**
|
||||
* JSAPI下单
|
||||
*/
|
||||
@Component
|
||||
//@Component
|
||||
@Slf4j
|
||||
public class JsapiPrepay {
|
||||
|
||||
|
||||
@ -3,14 +3,12 @@ package com.heyu.api.config;
|
||||
import com.heyu.api.jsapi.JsapiPrepay;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
//@Configuration
|
||||
@Slf4j
|
||||
public class JSAPIConfig {
|
||||
|
||||
@Bean
|
||||
// @Bean
|
||||
public JsapiPrepay jsapiPrepay(@Value("${eb.config.weixin.pay.mchid}") String mchid,
|
||||
@Value("${eb.config.weixin.pay.certificateSerialNo}") String certificateSerialNo,
|
||||
@Value("${eb.config.weixin.pay.privateKeyFilePath}") String privateKeyFilePath,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user