Commit af683a65 authored by 罗超's avatar 罗超

Merge branch 'master' into router

# Conflicts:
#	src/utils/domainManager.ts
#	src/utils/psdParser/text.ts
#	src/utils/upload/aliyun.ts
parents b6d28653 e2f45c15
...@@ -78,7 +78,7 @@ const service = Axios.create({ ...@@ -78,7 +78,7 @@ const service = Axios.create({
// process.env.VUE_APP_API_URL // process.env.VUE_APP_API_URL
//'http://reborn.oytour.com/api/common/post' //'http://reborn.oytour.com/api/common/post'
baseURL: process.env.VUE_APP_API_URL, baseURL: process.env.VUE_APP_API_URL,
timeout: 20000, timeout: 200000,
headers: { headers: {
'User-Type': 'bus', 'User-Type': 'bus',
'Content-Type': 'application/json;charset=UTF-8' 'Content-Type': 'application/json;charset=UTF-8'
......
...@@ -3,7 +3,7 @@ export const domainManager = () => { ...@@ -3,7 +3,7 @@ export const domainManager = () => {
const obj = { const obj = {
domainUrl: locationName.indexOf('oytour') !== -1 ? "https://reborn.oytour.com/api/common/post" : "http://192.168.10.214/api/common/post", domainUrl: locationName.indexOf('oytour') !== -1 ? "https://reborn.oytour.com/api/common/post" : "http://192.168.10.214/api/common/post",
//上传站点 //上传站点
UploadUrl: locationName.indexOf('oytour') !== -1 ? "https://upload.oytour.com" : "http://192.168.5.214:8120", UploadUrl: locationName.indexOf('oytour') !== -1 ? "https://upload.oytour.com" : "http://192.168.5.46:8120",
//文件站点 //文件站点
ViittoFileUrl: locationName.indexOf('oytour') !== -1 ? "http://imgfile.oytour.com" : 'http://192.168.10.214:8130', ViittoFileUrl: locationName.indexOf('oytour') !== -1 ? "http://imgfile.oytour.com" : 'http://192.168.10.214:8130',
// 通知erp // 通知erp
......
...@@ -287,7 +287,7 @@ const GetTripFiledData = async () =>{ ...@@ -287,7 +287,7 @@ const GetTripFiledData = async () =>{
try { try {
// let width = y.width // let width = y.width
// let height = y.height // let height = y.height
let tempSize = await FileService.getImageSizeWithoutDownloading(value[0]) let tempSize = await FileService.convertNetworkToBase64Async(value[0])//await FileService.getImageSizeWithoutDownloading(value[0])
let width = 0 let width = 0
let height = 0 let height = 0
//按照宽度进行缩放 //按照宽度进行缩放
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment