|
@@ -23,6 +23,7 @@ import com.wechat.pay.java.service.payments.jsapi.model.PrepayResponse;
|
|
|
import org.apache.commons.lang3.ObjectUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.omg.CORBA.TIMEOUT;
|
|
|
+import org.springframework.beans.factory.annotation.Configurable;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import utils.AppletDecryptDataUtil;
|
|
@@ -62,13 +63,13 @@ public class WxPayServiceImpl implements IWxPayService {
|
|
|
/**
|
|
|
* 小程序appId
|
|
|
*/
|
|
|
- @Value("${wx.appId}")
|
|
|
+ @Value("${wx.app-id}")
|
|
|
private String appId;
|
|
|
|
|
|
/**
|
|
|
* 小程序密钥
|
|
|
*/
|
|
|
- @Value("${wx.appSecret}")
|
|
|
+ @Value("${wx.app-secret}")
|
|
|
private String appSecret;
|
|
|
|
|
|
@Resource
|