feat: 添加系统配置,更新验证码接口
This commit is contained in:
@@ -15,11 +15,11 @@ from fastapi.responses import JSONResponse
|
||||
from annotation.log import Log
|
||||
from config.constant import BusinessType, RedisKeyConfig
|
||||
from controller.login import LoginController
|
||||
from models import I18n, Locale
|
||||
from schemas.common import BaseResponse
|
||||
from schemas.i18n import AddLocaleParams, GetLocaleInfoResponse, AddI18nParams, GetI18nInfoResponse, \
|
||||
GetI18nInfoListResponse, GetI18nListResponse
|
||||
from utils.response import Response
|
||||
from models import I18n, Locale
|
||||
|
||||
i18nAPI = APIRouter(
|
||||
prefix="/i18n",
|
||||
@@ -263,4 +263,3 @@ async def get_i18n_info_list(request: Request, id: str = Path(description="国
|
||||
"name": locale.name,
|
||||
})
|
||||
return Response.error(msg="该国际化内容语言不存在!")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user