mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-17 16:28:41 +08:00
@@ -624,7 +624,7 @@ public class MemberService {
|
|||||||
createAdaPaymentParam.setDescription(JSON.toJSONString(map));
|
createAdaPaymentParam.setDescription(JSON.toJSONString(map));
|
||||||
try {
|
try {
|
||||||
log.info("创建汇付支付参数:{}", JSONObject.toJSONString(createAdaPaymentParam));
|
log.info("创建汇付支付参数:{}", JSONObject.toJSONString(createAdaPaymentParam));
|
||||||
Map<String, Object> response = Payment.create(BeanMap.create(createAdaPaymentParam));
|
Map<String, Object> response = Payment.create(BeanMap.create(createAdaPaymentParam), dto.getAppId());
|
||||||
log.info("创建汇付支付参数反参:{}", JSONObject.toJSONString(response));
|
log.info("创建汇付支付参数反参:{}", JSONObject.toJSONString(response));
|
||||||
if (response != null && !response.isEmpty()) {
|
if (response != null && !response.isEmpty()) {
|
||||||
JSONObject jsonObject = JSONObject.parseObject(response.get("expend").toString());
|
JSONObject jsonObject = JSONObject.parseObject(response.get("expend").toString());
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ public class InitializeAdapayConfig implements CommandLineRunner {
|
|||||||
* mockApiKey为mock模式的API KEY
|
* mockApiKey为mock模式的API KEY
|
||||||
* rsaPrivateKey为商户发起请求时,用于请求参数加签所需要的RSA私钥
|
* rsaPrivateKey为商户发起请求时,用于请求参数加签所需要的RSA私钥
|
||||||
*/
|
*/
|
||||||
Map<String, MerConfig> configPathMap = new HashMap<>();
|
Map<String, MerConfig> configPathMap = new HashMap<>(); // key为merchantKey, value为MerConfig
|
||||||
List<AbstractAdapayConfig> allConfig = AdapayConfigFactory.getAllConfig();
|
List<AbstractAdapayConfig> allConfig = AdapayConfigFactory.getAllConfig();
|
||||||
for (AbstractAdapayConfig config : allConfig) {
|
for (AbstractAdapayConfig config : allConfig) {
|
||||||
String apiKey = config.getApiKey();
|
String apiKey = config.getApiKey();
|
||||||
|
|||||||
Reference in New Issue
Block a user