|
@@ -27,6 +27,7 @@ import org.apache.http.impl.client.CloseableHttpClient;
|
|
|
import org.apache.http.impl.client.HttpClients;
|
|
|
import org.apache.http.util.EntityUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import javax.imageio.ImageIO;
|
|
@@ -53,7 +54,8 @@ public class AAAServiceImpl implements AAAService {
|
|
|
/** 商户API私钥路径 */
|
|
|
public static String privateKeyPath = "/usr/java/AimagePath/apiclient_key.pem";
|
|
|
//public static String notifyUrl = "https://4076mr2069.imdo.co/api/front/erkai/wechat";
|
|
|
- public static String notifyUrl = "https://www.guicaioa.com/api/front/erkai/wechat";
|
|
|
+ @Value("${crmeb.sms.pay.notify-url:https://www.guicaioa.com/api/front/erkai/wechat}")
|
|
|
+ public String notifyUrl;
|
|
|
// public static String privateKeyPath = "C:\\Users\\ASUS\\Desktop\\apiclient_key2.pem";
|
|
|
// public static String notifyUrl = "http://d06u7pg536nk.ngrok.xiaomiqiu123.top/api/front/erkai/wechat";
|
|
|
/** 商户证书序列号 */
|