fix(push): add OPPO client app secret configuration
这个提交包含在:
父节点
dd3f7873db
当前提交
651e89527e
@ -80,6 +80,7 @@ export interface HuaweiPushVendorConfig {
|
||||
export interface OppoPushVendorConfig {
|
||||
appId?: string
|
||||
appKey?: string
|
||||
appSecret?: string
|
||||
masterSecret?: string
|
||||
}
|
||||
|
||||
|
||||
@ -306,11 +306,12 @@ const vendorDefs: VendorDef[] = [
|
||||
{
|
||||
key: 'oppo',
|
||||
label: 'OPPO 推送',
|
||||
hint: '仅保留 AppKey / MasterSecret。通道配置与优先级在 profiles 中维护。',
|
||||
hint: 'AppKey / AppSecret 用于 Android 客户端注册,MasterSecret 仅用于服务端发送。',
|
||||
platforms: ['ANDROID'],
|
||||
fields: [
|
||||
{ key: 'appId', label: 'AppId' },
|
||||
{ key: 'appKey', label: 'AppKey' },
|
||||
{ key: 'appSecret', label: 'AppSecret' },
|
||||
{ key: 'masterSecret', label: 'MasterSecret' },
|
||||
],
|
||||
},
|
||||
@ -362,7 +363,7 @@ function createEmptyVendors(): PushVendorsState {
|
||||
return {
|
||||
huawei: { appId: '', appSecret: '' },
|
||||
xiaomi: { appId: '', appKey: '', appSecret: '' },
|
||||
oppo: { appId: '', appKey: '', masterSecret: '' },
|
||||
oppo: { appId: '', appKey: '', appSecret: '', masterSecret: '' },
|
||||
vivo: { appId: '', appKey: '', appSecret: '' },
|
||||
honor: { appId: '', clientId: '', clientSecret: '' },
|
||||
harmony: { appId: '', appSecret: '' },
|
||||
|
||||
正在加载...
在新工单中引用
屏蔽一个用户