优化接口参数类型及UI显示细节

This commit is contained in:
2024-12-26 11:47:45 +08:00
parent dfda574ca2
commit 648ceef0e6
16 changed files with 169 additions and 93 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ export const delNotebook = (id: string | number | Array<string | number>) => {
* 查询标签
* @param id
*/
export const tagall = (): AxiosPromise<NotebookVO> => {
export const tagall = () => {
return request({
url: '/manage/tag/all',
method: 'get'
@@ -75,7 +75,7 @@ export const tagall = (): AxiosPromise<NotebookVO> => {
* 查询景点
* @param query
*/
export const contentall = (query?: NotebookQuery): AxiosPromise<NotebookVO> => {
export const contentall = (query?: any) => {
return request({
url: '/manage/content/all',
method: 'get',