feat: 1:优化token查询页 2:用户管理页面新增修改密码功能 3:调整景区与二维码关系
This commit is contained in:
@@ -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 || {};
|
||||
|
||||
Reference in New Issue
Block a user