移除行业凭证回调开关

This commit is contained in:
yml2213
2026-07-08 11:38:11 +08:00
parent 010ca4e249
commit 2380e28bcc
17 changed files with 20 additions and 160 deletions
@@ -1193,7 +1193,7 @@ function KuaishouIndustryPanel({
<div className="metric-grid four">
<MetricCard
label="回调状态"
value={source.enabled && source.sendCallbackEnabled ? '已启用' : '停用'}
value={source.enabled ? '已启用' : '停用'}
detail={source.enabled ? '配置启用' : '配置停用'}
/>
<MetricCard
@@ -1250,11 +1250,6 @@ function KuaishouIndustryPanel({
checked={source.enabled}
onChange={(enabled) => updateSource({ enabled })}
/>
<FieldSwitch
label="通知快手回调"
checked={source.sendCallbackEnabled}
onChange={(sendCallbackEnabled) => updateSource({ sendCallbackEnabled })}
/>
<LabeledInput
label="开放平台 API"
value={source.baseUrl}
@@ -7,7 +7,6 @@ export type AdminKuaishouIndustryAccessTokenStatus =
export interface AdminKuaishouIndustrySourceConfig {
enabled: boolean
sendCallbackEnabled: boolean
baseUrl: string
authBaseUrl: string
redirectUri: string