修改路径的替换
This commit is contained in:
parent
8e0b1d0aff
commit
dded8e5edd
@ -1,12 +1,12 @@
|
||||
import axios from 'axios'
|
||||
|
||||
const imageAddress = 'F://陕西省咸阳市礼泉县心电图FTP/ecgimage/'
|
||||
const originImageAddress = 'https://zzxmc.gw12320.com/ecgimage/'
|
||||
// 超声组件 API
|
||||
export const processImageApi = {
|
||||
// const apiUrl = 'https://zzxmc.gw12320.com/processImage'
|
||||
apiUrl222 : 'https://pacs.gw12320.com/adminecg/admin-api/tblist/ecganalysisparas/rpc-processImage', //222服务器
|
||||
apiUrl111 : 'http://111.57.76.10:8072/admin-api/tblist/ecganalysisparas/rpc-processImage', //111服务器
|
||||
imageAddress : 'F://陕西省咸阳市礼泉县心电图FTP/ecgimage/',
|
||||
originImageAddress : 'https://zzxmc.gw12320.com/ecgimage/',
|
||||
|
||||
// const apiUrl = 'https://localhost:48080/admin-api/tblist/ecganalysisparas/rpc-processImage'
|
||||
// const imageAddress = 'F://陕西省咸阳市礼泉县心电图FTP/ecgimage/'
|
||||
// const originImageAddress = 'https://zzxmc.gw12320.com/ecgimage/'
|
||||
@ -86,7 +86,7 @@ export const processImageApi = {
|
||||
enableWatermark:1,
|
||||
}
|
||||
},
|
||||
processImg: async (params: string,url=this.apiUrl222) => {
|
||||
processImg: async (params: string,url) => {
|
||||
try {
|
||||
const response = await axios({
|
||||
method: 'post',
|
||||
|
Loading…
Reference in New Issue
Block a user