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