fanzherong_v 1 miesiąc temu
rodzic
commit
5a7ca348b1

+ 1 - 0
snowy-plugin/snowy-plugin-biz/src/main/java/vip/xiaonuo/biz/modular/rechargerecord/service/impl/BizRechargeRecordServiceImpl.java

@@ -384,6 +384,7 @@ public class BizRechargeRecordServiceImpl extends ServiceImpl<BizRechargeRecordM
             map.put("env_version","release");
             //HttpResponse execute = HttpUtil.createPost(url).body(JSONObject.toJSONString(map)).execute();
             HttpResponse response = HttpRequest.post(url)
+                    .header("Content-Type", "application/json")
                     .body(JSONObject.toJSONString(map))
                     .execute();
             if (response.isOk()) {