heli-mes/mes-ui/mini-app/src/services/home.ts

26 lines
818 B
TypeScript
Raw Normal View History

2025-01-10 08:50:29 +08:00
/*
* @Author:
* @Date: 2024-01-04 12:54:56
* @LastEditors:
* @LastEditTime: 2024-03-19 17:27:47
* @FilePath: /app-nx-personal/src/services/home.ts
* @Description: ,`customMade`, koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
import type { PageParams, PageResult } from '@/types/global'
import type { BannerItem, CategoryItem, GuessItem, HotItem } from '@/types/home'
import { http } from '@/utils/http'
export const getHomeCategoryAPI = () => {
return http<CategoryItem[]>({
method: 'GET',
url: '/system/auth/get-permission-info',
})
}
2025-06-17 20:47:31 +08:00
export const getUnreadMessage = () => {
return http<CategoryItem[]>({
method: 'GET',
url: '/heli/bdgzsomthing/unreadMessage',
})
}