涨停地址

This commit is contained in:
renzhijun
2026-01-31 09:44:43 +08:00
parent 441f4c7360
commit cbcffb40f1
2 changed files with 5 additions and 1 deletions

View File

@@ -178,6 +178,7 @@
</template>
<script>
import {getBaseURL} from '@/request/http.js'
import {
inject
} from 'vue'
@@ -571,7 +572,7 @@
// 调用上面的函数获取前一天的格式化日期YYYYMMDD
const formattedDate = this.getPreviousDayDate(this.selectedFullDate);
const requestUrl = `https://valuefrontier.cn/data/zt/daily/${formattedDate}.json?t=${timestamp}`;
const requestUrl = getBaseURL1+`/data/zt/daily/${formattedDate}.json?t=${timestamp}`;
console.log('请求URL', requestUrl); // 打印URL便于调试
const res = await uni.request({

View File

@@ -14,6 +14,9 @@ if (process.env.NODE_ENV==='development') {
export function getBaseURL() {
return baseURL
}
export function getBaseURL1() {
return "https://api.valuefrontier.cn"
}
/**
* get方法对应get请求