域名配置

This commit is contained in:
xg-29 2024-09-25 18:46:47 +08:00
parent b1729370e4
commit f65ad61d00
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ import {
} from "/tool/index.js"
export default {
// baseUrl:'http://syjk.yhy.ren/prod-api/',//大屏-线上
baseUrl:'http://syjk.yhy.ren:9999/prod-api/', //大屏测试
baseUrl:'https://syjk.yhy.ren/test-api/', //大屏测试
post(url, param) {
return this.ajax('post', url, param)

View File

@ -116,7 +116,7 @@
var userId = item.userId ? item.userId : '';
var familyId = item.id ? item.id : '';
//http://192.171.1.22:9206/ytj-report/testReportDetails?userId=15&familyId=1
var url = '/pages/yitiji/reportDetail/reportDetail?userId=' + userId + '&familyId=' + familyId;
var url = '/pages/machineReport/reportDetail/reportDetail?userId=' + userId + '&familyId=' + familyId;
console.log(url);
uni.navigateTo({
url: url