Files
dajiankang-uniapp/api/modules/config.ts
PC-202306242200\Administrator 1c24452b6c first commit
2026-03-28 23:10:55 +08:00

17 lines
570 B
TypeScript

import { http } from '../http'
// 用户相关接口
const api = {
// 轮播图列表
banner: (params = {}) => http({ url: '/app-api/djk/app/banner/page', params, method: 'GET' }),
// 公告列表
noticePage: (params = {}) => http({ url: '/app-api/djk/app/notice/page', params, method: 'GET' }),
// 公告分类
noticeCatePage: (params = {}) => http({ url: '/app-api/djk/app/notice-category/page', params, method: 'GET' }),
// 公告详情
noticeInfo: (params = {}) => http({ url: '/app-api/djk/app/notice/get', params, method: 'GET' }),
}
export default api