This commit is contained in:
zoujiandong
2025-07-22 15:57:13 +08:00
parent 1d598d149b
commit e40f72db16
3 changed files with 3 additions and 3 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -113,7 +113,7 @@ const api = {
return utils_request.request("/exchange/collect/" + id, {}, "delete", false);
},
addExchangeComment(id, data) {
return utils_request.request("/exchange/comment/" + id, data, "post", true);
return utils_request.request("/exchange/comment/" + id, data, "post", true, "application/json");
},
delExchangeComment(id) {
return utils_request.request("/exchange/comment/" + id, {}, "delete", false);