添加标签筛选及笔记详情查看功能

This commit is contained in:
2024-12-17 19:41:34 +08:00
parent 99a7a6c2cd
commit f80bb62e6f
4 changed files with 157 additions and 36 deletions
+13
View File
@@ -68,3 +68,16 @@ export const geocoder = (address: string) => {
method: 'get'
});
};
/**
*
* @param query 根据标签查询相关笔记
* @returns
*/
export const listByTagIdNotebook = (query: any): AxiosPromise<ArticleVO[]> => {
return request({
url: '/manage/notebook/listByTagId',
method: 'get',
params: query
});
};
+4 -2
View File
@@ -5,7 +5,7 @@ export interface ArticleVO {
* 景点ID/租赁ID/游艇ID
*/
id: string | number;
tagId_copy: string[] | number[];
/**
*
*/
@@ -94,7 +94,8 @@ export interface ArticleVO {
export interface ArticleForm extends BaseEntity {
icon?: string;
regionCode?: string;
region?: string;
tagId_copy: string[] | number[];
/**
* 景点名称 商家名称
*/
@@ -202,6 +203,7 @@ export interface ArticleQuery extends PageQuery {
*/
type?: string;
name?: string;
tagId_copy: string[] | number[];
/**
* 二级类别(未定)
*/