fix(接口自动化): 修复旧数据迁移问题

This commit is contained in:
fit2-zhao 2021-01-26 13:34:54 +08:00
parent 96431f0899
commit 6fd4be7e68
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ public class HistoricalDataUpgradeService {
} }
} }
if (!isJsonType) { if (!isJsonType) {
request1.getHeaders().add(new KeyValue("Content-Type", "application/json")); request1.getHeaders().set(request1.getHeaders().size() - 1, new KeyValue("Content-Type", "application/json"));
} }
} }
} }