mirror of
https://github.com/kuaifan/dootask.git
synced 2026-10-29 22:10:42 +00:00
fix(push): DooPush 推送不再指定 OPPO IM 类别(未申请私信通道权限时整条被拒,错误 67)
This commit is contained in:
parent
e87ed82828
commit
d02c1d343a
@ -55,7 +55,7 @@ class DooPushClient
|
||||
$payload = array_merge($extra ? ['data' => Base::array2json($extra)] : [], [
|
||||
'huawei' => ['importance' => 'NORMAL', 'category' => 'IM'],
|
||||
'honor' => ['importance' => 'NORMAL'],
|
||||
'oppo' => ['category' => 'IM'],
|
||||
// OPPO 的 IM 类别属私信通道,需在 OPPO 后台申请权限,否则整条推送被拒(错误 67),暂不指定。
|
||||
// DooPush 的 vivo 通道使用 classification,而非 category。
|
||||
'vivo' => ['classification' => 1],
|
||||
]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user