Explorar o código

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

- 输出apiUrl到控制台,方便调试接口请求问题
yourname hai 9 meses
pai
achega
1769710fd8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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: {