first commit
This commit is contained in:
17
api/modules/config.ts
Normal file
17
api/modules/config.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in New Issue
Block a user