Browse Source

完整流程代码提交

“lqy 1 day ago
parent
commit
ad18b856c8

+ 3 - 3
mjava-lilin/src/main/java/com/malk/lilin/Service/impl/LiLinServiceImpl.java

@@ -660,7 +660,7 @@ public class LiLinServiceImpl implements LiLinService {
         String securityCode = String.valueOf(token().getData());
         Map<String, String> headers = new HashMap<>();
         headers.put("x-xencio-client-id", "7dc3a31209b94a91ba40a44358fe70eb");
-        headers.put("content-Type", "application/x-www-form-urlencoded");
+        headers.put("content-type", "application/x-www-form-urlencoded");
         String url = "https://x.xencio.com/c4c3/api/payment/transfer";
 
         // 判断是否为物流付款单
@@ -764,7 +764,7 @@ public class LiLinServiceImpl implements LiLinService {
 
         Map<String, String> headers = new HashMap<>();
         headers.put("x-xencio-client-id", "7dc3a31209b94a91ba40a44358fe70eb");
-        headers.put("content-Type", "application/x-www-form-urlencoded");
+        headers.put("content-type", "application/x-www-form-urlencoded");
 
         Map<String, Object> params = new HashMap<>();
         params.put("securityCode", securityCode);
@@ -973,7 +973,7 @@ public class LiLinServiceImpl implements LiLinService {
                         .url("https://x.xencio.com/c4c3/api/bs/list")
                         .post(body)
                         .addHeader("x-xencio-client-id", "7dc3a31209b94a91ba40a44358fe70eb")
-                        .addHeader("content-Type", "application/x-www-form-urlencoded")
+                        .addHeader("content-type", "application/x-www-form-urlencoded")
                         .build();
 
                 response = client.newCall(request).execute();