随机获取引导词接口添加引导词是否禁用判断
This commit is contained in:
parent
d4a6e94498
commit
f7cb62af69
@ -22,6 +22,9 @@ from config.enums import ExplanationContentStatus
|
||||
|
||||
explanationContentController = APIRouter(prefix='/system/explanation_content', dependencies=[Depends(LoginService.get_current_user)])
|
||||
|
||||
"""
|
||||
展厅讲解权限字符 exhibitionhall:guide:query, dependencies=[Depends(CheckUserInterfaceAuth('exhibitionhall:guide:query'))]
|
||||
"""
|
||||
|
||||
@explanationContentController.get(
|
||||
'/list', response_model=PageResponseModel
|
||||
|
||||
@ -26,6 +26,7 @@ class WordsDao:
|
||||
select(GuideWords.text)
|
||||
.where(
|
||||
GuideWords.type == type,
|
||||
GuideWords.del_flag == '0'
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user