feat: 1:优化token查询页 2:用户管理页面新增修改密码功能 3:调整景区与二维码关系

This commit is contained in:
2025-10-23 12:12:39 +08:00
parent e11fee3f53
commit 84db79fb22
8 changed files with 133 additions and 58 deletions
@@ -49,6 +49,13 @@ export const ordersApi = {
return (res as any).data || res;
},
// 按景区ID查询二维码列表
qrcodeListByTourism: async (params: { current?: number; pageSize?: number; tourismId: number; [k: string]: any }) => {
const { current, pageSize, ...rest } = params || {};
const res = await request('/api-order/qrcode', { method: 'GET', params: { page: current, limit: pageSize, ...rest } });
return { data: (res as any).data, total: (res as any).count };
},
// 旅游景区
tourism: async (params: { current?: number; pageSize?: number; [k: string]: any }) => {
const { current, pageSize, ...rest } = params || {};