forked from 77media/video-flow
村里
This commit is contained in:
parent
724c542a23
commit
6220f2f8df
@ -1 +1 @@
|
|||||||
export const BASE_URL = "/api/proxy"
|
export const BASE_URL = "https://movieflow.api.huiying.video"
|
||||||
|
|||||||
@ -43,7 +43,7 @@ export function HomePage2() {
|
|||||||
setIsLoadingResources(true);
|
setIsLoadingResources(true);
|
||||||
const response = await getResourcesList({ published: 1 });
|
const response = await getResourcesList({ published: 1 });
|
||||||
console.log(response);
|
console.log(response);
|
||||||
if (response.code === 0 && response.successfull) {
|
if (response.code === 0) {
|
||||||
setResources(response.data);
|
setResources(response.data);
|
||||||
} else {
|
} else {
|
||||||
console.error('获取资源列表失败:', response.message);
|
console.error('获取资源列表失败:', response.message);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user