域名配置
This commit is contained in:
parent
b1729370e4
commit
f65ad61d00
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue