- 输出apiUrl到控制台,方便调试接口请求问题
@@ -45,6 +45,7 @@ export class StockDataService extends GenericCrudService<StockData> {
}
const apiUrl = `http://api.mairui.club/hszbl/fsjy/${code}/${dh}/${license}`;
+ console.log('apiUrl', apiUrl)
const response = await fetch(apiUrl, {
method: 'GET',
headers: {