axios test

This commit is contained in:
2023-12-21 01:29:29 +08:00
parent d6343d7232
commit 58777e9ae3
8 changed files with 17 additions and 16 deletions

View File

@@ -1,12 +1,12 @@
import request from "@/utils/request.js";
import qs from "qs";
const baseUrl = '/api/'
const baseUrl = '/api'
export function getHotNews() {
return request({
url: "/api",
url: baseUrl+"/hot",
method: "get",
});
}