优化接口参数类型及UI显示细节
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user