From 55481c6d5157dca8c558c157538ed1462ce19355 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E9=B9=8F?= <2916022834@qq.com>
Date: Tue, 28 Apr 2026 17:24:59 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.dev | 5 +-
.../Detail/detailLeft/module/uploadList.vue | 2 +-
src/component/HomePage/Generate.vue | 4 +-
.../HomePage/MarketingSketchUpload.vue | 2 +-
src/component/HomePage/Upload.vue | 2 +-
src/component/HomePage/layout.vue | 2 +-
src/component/LibraryPage/createBrand.vue | 2 +-
.../home/batchGeneration/createCloud.vue | 4 +-
.../design/collection/MoodboardUpload.vue | 2 +-
.../design/collection/PrintboardUpload.vue | 6 +-
.../design/collection/SketchboardUpload.vue | 2 +-
.../home/tools/deReconstruction/index.vue | 2 +-
.../home/tools/patternMaking3D/three.vue | 2 +-
.../home/tools/poseTransfer/index.vue | 4 +-
src/component/home/tools/toProduct/index.vue | 2 +-
src/tool/https.js | 550 +++++++++---------
src/views/HomeView/library.vue | 4 +-
src/views/SellerDashboard/index.vue | 4 +-
vite.config.js | 4 +-
19 files changed, 299 insertions(+), 306 deletions(-)
diff --git a/.env.dev b/.env.dev
index 89ea00da..a3f33223 100644
--- a/.env.dev
+++ b/.env.dev
@@ -3,12 +3,13 @@ VITE_USER_NODE_ENV = 'development'
# VITE_APP_BASE_URL = 'https://api.aida.com.hk'
# VITE_APP_BASE_URL = 'http://18.167.251.121:10086'
-VITE_APP_BASE_URL = 'https://develop.api.aida.com.hk'
+# VITE_APP_BASE_URL = 'https://develop.api.aida.com.hk'
+VITE_APP_BASE_URL = 'http://18.167.251.121:10094'
# VITE_APP_BASE_URL = 'https://www.api.aida.com.hk'
# 徐佩
# VITE_APP_BASE_URL = 'http://192.168.31.118:5567'
# 李天祥
# VITE_APP_BASE_URL = 'http://192.168.31.82:5567'
-VITE_APP_BASE_URL = 'http://192.168.31.82:5569'
+# VITE_APP_BASE_URL = 'http://192.168.31.82:5569'
# 海波
# VITE_APP_BASE_URL = 'http://192.168.31.34:5567'
diff --git a/src/component/Detail/detailLeft/module/uploadList.vue b/src/component/Detail/detailLeft/module/uploadList.vue
index 4e36788c..de9737b4 100644
--- a/src/component/Detail/detailLeft/module/uploadList.vue
+++ b/src/component/Detail/detailLeft/module/uploadList.vue
@@ -12,7 +12,7 @@
-
+
{
if (rv) {
for(let file of this.fileList){
@@ -491,7 +491,7 @@ export default defineComponent({
}
this.isUpload = true
const hide = message.loading('loading', 0);
- Https.axiosPost('/api/element/upload', new_data,{headers:{'Content-Type': 'multipart/form-data'}}).then(
+ Https.axiosPost('/aida/api/element/upload', new_data,{headers:{'Content-Type': 'multipart/form-data'}}).then(
(rv: any) => {
for(let file of this.fileList){
if(fileData.uid === file.uid){
diff --git a/src/component/home/design/collection/SketchboardUpload.vue b/src/component/home/design/collection/SketchboardUpload.vue
index 7db1638c..3c127296 100644
--- a/src/component/home/design/collection/SketchboardUpload.vue
+++ b/src/component/home/design/collection/SketchboardUpload.vue
@@ -70,7 +70,7 @@
v-show="sketchboardList.length < 20"
>
-->
-
+
diff --git a/src/component/home/tools/patternMaking3D/three.vue b/src/component/home/tools/patternMaking3D/three.vue
index dfb14c4d..7f22d0d3 100644
--- a/src/component/home/tools/patternMaking3D/three.vue
+++ b/src/component/home/tools/patternMaking3D/three.vue
@@ -390,7 +390,7 @@ export default defineComponent({
// //fetch get请求携带token
- // fetch("https://develop.api.aida.com.hk/api/project/getThreeDGlb?threeDSimpleId=1", {
+ // fetch("https://develop.api.aida.com.hk/aida/api/project/getThreeDGlb?threeDSimpleId=1", {
// headers:{
// authorization:'Bearer-eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiI4OCIsInN1YiI6IntcImNvdW50cnlcIjpcIkNoaW5hXCIsXCJpZFwiOjg4LFwibGFuZ3VhZ2VcIjpcIkVOR0xJU0hcIixcInVzZXJuYW1lXCI6XCJzaGJcIn0iLCJpYXQiOjE3NDMzNDkwNjQsImlzcyI6IkRXSiIsImF1dGhvcml0aWVzIjoiW10iLCJleHAiOjE3NTE5ODkwNjR9.gmL0JufYy9wd23qCY-ibwhgpXZ2X68WAiHSeC99I4x7cipWyxLaQmuIBk2SJSdWBm0tTN2Mx-etXO9a7MtQmpw',
// }
diff --git a/src/component/home/tools/poseTransfer/index.vue b/src/component/home/tools/poseTransfer/index.vue
index fbbe49f0..7c6ef192 100644
--- a/src/component/home/tools/poseTransfer/index.vue
+++ b/src/component/home/tools/poseTransfer/index.vue
@@ -78,7 +78,7 @@
{
- if (isLoginTime && url != '/api/portfolio/page') {
+ if (isLoginTime && url != '/aida/api/portfolio/page') {
resolve('')
return
}
@@ -508,7 +500,7 @@ export const Https = {
axiosPut(url, data, pathParams) {
return new Promise((resolve, reject) => {
- if (isLoginTime && url != '/api/portfolio/page') {
+ if (isLoginTime && url != '/aida/api/portfolio/page') {
resolve('')
return
}
@@ -525,7 +517,7 @@ export const Https = {
axiosPost(url, data, config, pathParams) {
return new Promise((resolve, reject) => {
- if (isLoginTime && url != '/api/portfolio/page') {
+ if (isLoginTime && url != '/aida/api/portfolio/page') {
resolve('')
return
}
@@ -542,7 +534,7 @@ export const Https = {
axiosDelete(url, newData, pathParams) {
return new Promise((resolve, reject) => {
- if (isLoginTime && url != '/api/portfolio/page') {
+ if (isLoginTime && url != '/aida/api/portfolio/page') {
resolve('')
return
}
diff --git a/src/views/HomeView/library.vue b/src/views/HomeView/library.vue
index 6cd1b19f..8b096b43 100644
--- a/src/views/HomeView/library.vue
+++ b/src/views/HomeView/library.vue
@@ -338,7 +338,7 @@
{
toolTipBoxRef.value.routerPath = path
visible.value = true
})
diff --git a/vite.config.js b/vite.config.js
index 88753273..9341e049 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -88,10 +88,10 @@ export default defineConfig(({ mode }) => {
overlay: true,
},
proxy: {
- "/api": {
+ "/aida": {
// target: 'https://develop.api.aida.com.hk',
target: baseURL,
- rewrite: (path) => path.replace(/^\/api/, "/aida/api"),
+ rewrite: (path) => path.replace(/^\/aida/, "/aida"),
changeOrigin: true,
},
"/seller": {