七牛云短信实现,评审意见修改

This commit is contained in:
scholar
2024-08-28 10:51:19 +08:00
parent 4f7ac969fe
commit 1c1abae5bb
4 changed files with 51 additions and 63 deletions

View File

@ -135,7 +135,6 @@ public class HttpUtils {
* @return 请求结果
*/
public static String post(String url, Map<String, String> headers, String requestBody) {
try (HttpResponse response = HttpRequest.post(url)
.addHeaders(headers)
.body(requestBody)
@ -154,7 +153,6 @@ public class HttpUtils {
* @return 请求结果
*/
public static String get(String url, Map<String, String> headers) {
try (HttpResponse response = HttpRequest.get(url)
.addHeaders(headers)
.execute()) {