| | |
| | | String partyId = SecurityUtils.getUser().getUserId(); |
| | | String session_token = this.sessionTokenService.savePut(partyId); |
| | | // Map<String, C2cPaymentMethod> cpmMap = this.c2cPaymentMethodService.getByPartyId("2c948a8282920a9f01829270bcac0000"); |
| | | Map<String, C2cPaymentMethod> cpmMap = this.c2cPaymentMethodService.getByPartyId(partyId); |
| | | /*Map<String, C2cPaymentMethod> cpmMap = this.c2cPaymentMethodService.getByPartyId(partyId); |
| | | |
| | | if (null == cpmMap || 0 == cpmMap.size()) { |
| | | // TODO: 2023/4/16 |
| | |
| | | List<String> cpmList = new ArrayList<String>(); |
| | | for (String key : cpmMap.keySet()) { |
| | | cpmList.add(key); |
| | | } |
| | | }*/ |
| | | Map<String, Object> data = new HashMap<String, Object>(); |
| | | data.put("session_token", session_token); |
| | | data.put("gf_payment_method_id", cpmList.get(0)); |
| | | //data.put("gf_payment_method_id", cpmList.get(0)); |
| | | return Result.succeed(data); |
| | | } |
| | | |