Przeglądaj źródła

🔧 chore(stock): add debug log for api url

- 输出apiUrl到控制台,方便调试接口请求问题
yourname 7 miesięcy temu
rodzic
commit
1769710fd8
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/server/modules/stock/stock-data.service.ts

+ 1 - 0
src/server/modules/stock/stock-data.service.ts

@@ -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: {