|
@@ -808,7 +808,7 @@ const _sfc_main = {
|
|
formData.append("video_duration", 0);
|
|
formData.append("video_duration", 0);
|
|
formData.append("has_audio", "true");
|
|
formData.append("has_audio", "true");
|
|
const xhr = new XMLHttpRequest();
|
|
const xhr = new XMLHttpRequest();
|
|
- xhr.open("POST", "http://192.168.66.187:8083/api/system/upload/", true);
|
|
|
|
|
|
+ xhr.open("POST", "https://minlong.raycos.com.cn/api/system/upload/", true);
|
|
xhr.onload = () => {
|
|
xhr.onload = () => {
|
|
common_vendor.index.hideLoading();
|
|
common_vendor.index.hideLoading();
|
|
if (xhr.status === 200) {
|
|
if (xhr.status === 200) {
|
|
@@ -863,7 +863,7 @@ const _sfc_main = {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
common_vendor.index.uploadFile({
|
|
common_vendor.index.uploadFile({
|
|
- url: "http://192.168.66.187:8083/api/system/upload/",
|
|
|
|
|
|
+ url: "https://minlong.raycos.com.cn/api/system/upload/",
|
|
filePath: fileOrPath,
|
|
filePath: fileOrPath,
|
|
name: "file",
|
|
name: "file",
|
|
formData: {
|
|
formData: {
|
|
@@ -946,7 +946,7 @@ const _sfc_main = {
|
|
tenant_id: common_vendor.index.getStorageSync("tenant_id") || "1"
|
|
tenant_id: common_vendor.index.getStorageSync("tenant_id") || "1"
|
|
};
|
|
};
|
|
common_vendor.index.request({
|
|
common_vendor.index.request({
|
|
- url: "http://192.168.66.187:8083/api/job/upload_question_video",
|
|
|
|
|
|
+ url: "https://minlong.raycos.com.cn/api/job/upload_question_video",
|
|
method: "POST",
|
|
method: "POST",
|
|
data: requestData,
|
|
data: requestData,
|
|
// 使用data而不是formData
|
|
// 使用data而不是formData
|