提交 a639e0e3 作者: ZhangLingKun

功能:ssr测试

上级 6d3279f2
......@@ -32,7 +32,9 @@ export async function getServerSideProps() {
// };
// fetch测试
const getAppCategoryInfo = async () => {
const res = await fetch('https://www.baidu.com');
const res = await fetch(
'https://test.iuav.com/pms/app/goods/queryGoodsInfoByCategorySub?type=4',
);
console.log('fetch测试 res --->', res);
};
// 依次获取接口数据
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论