diff --git a/backend/app/config/setting.py b/backend/app/config/setting.py index f7934d43..a8482181 100755 --- a/backend/app/config/setting.py +++ b/backend/app/config/setting.py @@ -3,7 +3,7 @@ import os from functools import lru_cache from pathlib import Path -from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Any, ClassVar, Dict, List, Optional, Union, Literal from pydantic import MongoDsn, PostgresDsn, RedisDsn, MySQLDsn from pydantic_settings import BaseSettings, SettingsConfigDict from uvicorn.config import LifespanType diff --git a/devops/mysql/conf/mysqld.cnf b/devops/mysql/conf/mysqld.cnf deleted file mode 100644 index 25f1610f..00000000 --- a/devops/mysql/conf/mysqld.cnf +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -# -# The MySQL Server configuration file. -# -# For explanations see -# http://dev.mysql.com/doc/mysql/en/server-system-variables.html - -[mysqld] -pid-file = /var/run/mysqld/mysqld.pid -socket = /var/run/mysqld/mysqld.sock -datadir = /var/lib/mysql -# log-error = /var/log/mysql/error.log -# By default we only accept connections from localhost -#bind-address = 127.0.0.1 -# Disabling symbolic-links is recommended to prevent assorted security risks -symbolic-links=0 -max_connections=1000 diff --git a/fastapp/.env.development b/fastapp/.env.development index 791c6403..48bce05a 100644 --- a/fastapp/.env.development +++ b/fastapp/.env.development @@ -7,8 +7,7 @@ VITE_APP_ENV=development VITE_APP_TITLE=fastapiadmin # 网络请求公用地址 -# VITE_API_BASE_URL=http://localhost:8001 -VITE_API_BASE_URL=https://service.fastapiadmin.com +VITE_API_BASE_URL=http://localhost:8001 # 代理前缀 VITE_APP_BASE_API=/api/v1 diff --git a/fastapp/components.d.ts b/fastapp/components.d.ts index fd8faa43..5f0e701e 100644 --- a/fastapp/components.d.ts +++ b/fastapp/components.d.ts @@ -17,6 +17,8 @@ declare module 'vue' { QiunDataCharts: typeof import('./src/components/qiun-data-charts/qiun-data-charts.vue')['default'] QiunError: typeof import('./src/components/qiun-error/qiun-error.vue')['default'] QiunLoading: typeof import('./src/components/qiun-loading/qiun-loading.vue')['default'] + WdActionSheet: typeof import('wot-design-uni/components/wd-action-sheet/wd-action-sheet.vue')['default'] + WdAvatar: typeof import('wot-design-uni/components/wd-avatar/wd-avatar.vue')['default'] WdBadge: typeof import('wot-design-uni/components/wd-badge/wd-badge.vue')['default'] WdButton: typeof import('wot-design-uni/components/wd-button/wd-button.vue')['default'] WdCard: typeof import('wot-design-uni/components/wd-card/wd-card.vue')['default'] @@ -27,6 +29,7 @@ declare module 'vue' { WdCollapseItem: typeof import('wot-design-uni/components/wd-collapse-item/wd-collapse-item.vue')['default'] WdConfigProvider: typeof import('wot-design-uni/components/wd-config-provider/wd-config-provider.vue')['default'] WdDivider: typeof import('wot-design-uni/components/wd-divider/wd-divider.vue')['default'] + WdField: typeof import('wot-design-uni/components/wd-field/wd-field.vue')['default'] WdForm: typeof import('wot-design-uni/components/wd-form/wd-form.vue')['default'] WdGrid: typeof import('wot-design-uni/components/wd-grid/wd-grid.vue')['default'] WdGridItem: typeof import('wot-design-uni/components/wd-grid-item/wd-grid-item.vue')['default'] @@ -43,6 +46,7 @@ declare module 'vue' { WdProgress: typeof import('wot-design-uni/components/wd-progress/wd-progress.vue')['default'] WdRadio: typeof import('wot-design-uni/components/wd-radio/wd-radio.vue')['default'] WdRadioGroup: typeof import('wot-design-uni/components/wd-radio-group/wd-radio-group.vue')['default'] + WdResult: typeof import('wot-design-uni/components/wd-result/wd-result.vue')['default'] WdSwiper: typeof import('wot-design-uni/components/wd-swiper/wd-swiper.vue')['default'] WdSwitch: typeof import('wot-design-uni/components/wd-switch/wd-switch.vue')['default'] WdTabbar: typeof import('wot-design-uni/components/wd-tabbar/wd-tabbar.vue')['default'] diff --git a/fastapp/src/pages/index/index.vue b/fastapp/src/pages/index/index.vue index 55cc91a6..a8c0698b 100644 --- a/fastapp/src/pages/index/index.vue +++ b/fastapp/src/pages/index/index.vue @@ -1,13 +1,7 @@