diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d3433cf --- /dev/null +++ b/.gitignore @@ -0,0 +1,28 @@ +.DS_Store +node_modules/ +unpackage +/dist/ +/manager/dist/ +npm-debug.log* +yarn-debug.log* +yarn-error.log* +/test/unit/coverage/ +/test/e2e/reports/ +selenium-debug.log +nodejs/public/uploads +admin-ui/dist.zip +portal-ui/dist.zip +# Editor directories and files +.idea +.vscode +*.suo +*.ntvs* +*.njsproj +*.sln +package-lock.json +.history +/unpackage/resources/ +/unpackage/dist/dev +/unpackage/dist/build/.automator +/unpackage/dist/build/app-plus +*.lock diff --git a/admin-ui/.env.production b/admin-ui/.env.production index 8bda2ca..d0d7001 100644 --- a/admin-ui/.env.production +++ b/admin-ui/.env.production @@ -5,4 +5,4 @@ VUE_APP_TITLE = 管理系统 ENV = 'production' # 若依管理系统/生产环境 -VUE_APP_BASE_API = 'https://admin-api.undressing.name' +VUE_APP_BASE_API = 'http://47.86.170.114:8011' diff --git a/portal-ui/.env b/portal-ui/.env index 41d060e..8fa58e4 100644 --- a/portal-ui/.env +++ b/portal-ui/.env @@ -3,4 +3,5 @@ VITE_AMAP_KEY = 6888d721d30981b479ecdabd85f286fe VITE_AMAP_SAFE_KEY = 23d3fdbc6b4eaf65d4a82a16510938c9 VITE_REGISTER_SOURCE = ALL #VITE_REGISTER_SOURCE = XM001 -VITE_SHOW_PAY = SUCCESS \ No newline at end of file +VITE_SHOW_PAY = SUCCESS +VITE_API_URL = http://47.86.170.114:8011/api \ No newline at end of file diff --git a/portal-ui/.env.development b/portal-ui/.env.development index e6688d4..a082422 100644 --- a/portal-ui/.env.development +++ b/portal-ui/.env.development @@ -1,3 +1,3 @@ # 端口 VITE_PORT = 8887 -VITE_API_URL = https://api.undressing.name/api \ No newline at end of file +VITE_API_URL = http://47.86.170.114:8011/api \ No newline at end of file diff --git a/portal-ui/src/components/Forbidden.vue b/portal-ui/src/components/Forbidden.vue index 5b4e8e6..5ed38a3 100644 --- a/portal-ui/src/components/Forbidden.vue +++ b/portal-ui/src/components/Forbidden.vue @@ -8,10 +8,6 @@ fullscreen :class="`${prefixCls}-wrapper`" :modal-class="`${prefixCls}-dialog`"> -
{{ $t('common.fbTitle') }} diff --git a/portal-ui/src/utils/request.js b/portal-ui/src/utils/request.js index 8931e59..cb64eaa 100644 --- a/portal-ui/src/utils/request.js +++ b/portal-ui/src/utils/request.js @@ -21,7 +21,7 @@ const messages = i18n.global.messages[lang]; * @desc 创建axios实例 */ const service = axios.create({ - // baseURL: process.env.VUE_APP_BASE_API, + baseURL: process.env.VUE_APP_BASE_API, withCredentials: import.meta.env.MODE === 'development', timeout: 600 * 1000 }) diff --git a/portal-ui/src/views/FastVideo.vue b/portal-ui/src/views/FastVideo.vue index 46b3320..b9d91e4 100644 --- a/portal-ui/src/views/FastVideo.vue +++ b/portal-ui/src/views/FastVideo.vue @@ -68,6 +68,19 @@
+ +
+
{{ $t('common.selectModel') || '选择模型' }}
+ + + {{ option.label }} + + +
+ +
+
{{ $t('common.selectModel') || '选择模型' }}
+ + + {{ option.label }} + + +
+