Commit 4e428d92 authored by agping's avatar agping

1

parent 898305e9
......@@ -111,7 +111,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
formData.append('image', _this[0].files[0]);
$.ajax({
type: 'post',
url: ServerHostImageLiu + '/index/uploadImg',
url: '/index/uploadImg',
data: formData,
dataType: 'json',
contentType: false,
......
......@@ -361,8 +361,8 @@ function getTimeStamp(date){
return time_cha;
};
//处理图片域名 测试 正式
let ServerHostImageLiu = 'http://images.pre2.tonglianjituan.com';
// let ServerHostImageLiu = 'http://images.tonglianjituan.com';
// let ServerHostImageLiu = 'http://images.pre2.tonglianjituan.com';
let ServerHostImageLiu = 'https://pre2.tonglianjituan.com';
if(location.origin === 'https://api.tonglianjituan.com') {
ServerHostImageLiu = 'http://images.tonglianjituan.com';
};
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