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',
|
|
|
|
})
|
|
|
|
}
|