feat: 添加内容置顶过滤选项,更新内容列表查询功能;添加创作者设置 ID 字段;优化租户信息获取逻辑;更新租户 API 接口

This commit is contained in:
2026-01-05 17:10:25 +08:00
parent 67c6c3cccb
commit 454f6809b0
8 changed files with 110 additions and 67 deletions

View File

@@ -0,0 +1,7 @@
import { request } from '../utils/request';
export const tenantApi = {
get: (id) => request(`/tenants/${id}`),
follow: (id) => request(`/tenants/${id}/follow`, { method: 'POST' }),
unfollow: (id) => request(`/tenants/${id}/follow`, { method: 'DELETE' }),
};