新增公共内容 CRUD 与批量操作;公告滚动合并管理;优胜冠军内置国家选择与单行保存;玩家端统一 usePlayerHome 对接轮播与跑马灯。 Co-authored-by: Cursor <cursoragent@cursor.com>
8 lines
224 B
TypeScript
8 lines
224 B
TypeScript
import { usePlayerHome } from './usePlayerHome';
|
|
|
|
/** @deprecated 请使用 usePlayerHome */
|
|
export function useAnnouncements() {
|
|
const { announcements, load } = usePlayerHome();
|
|
return { items: announcements, load };
|
|
}
|