移除行业凭证回调开关
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user