feat(ECR-044): RhythmConfig 写面闭环并 Closed
复用 admin.explore.write、POST/PUT+审计、C端 GET /rhythm/configs、 H5 无 active 空态/失败回退;migration 000053。ExploreConfig Loop STOP,禁自动 ECR-045。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -311,6 +311,15 @@ export function createClient(opts: CreateClientOptions) {
|
||||
active: boolean
|
||||
}>
|
||||
}>('/api/v1/star/configs'),
|
||||
getRhythmConfigs: () =>
|
||||
call<{
|
||||
items: Array<{
|
||||
id: string
|
||||
code: string
|
||||
title: string
|
||||
active: boolean
|
||||
}>
|
||||
}>('/api/v1/rhythm/configs'),
|
||||
getHomeDailyTips: () => call<HomeDailyTips>('/api/v1/home/daily-tips'),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user