|
@@ -77,7 +77,6 @@ class UserMessage extends Model
|
|
|
'title'=>static::$type_desc[$module][$type]['title'],
|
|
|
];
|
|
|
self::create($message);
|
|
|
- return true;
|
|
|
// 哪些模块中的某些类型需要极光推送
|
|
|
switch ($module)
|
|
|
{
|
|
@@ -127,7 +126,7 @@ class UserMessage extends Model
|
|
|
// 'builder_id' => 2,
|
|
|
'extras' => array(
|
|
|
'key' => 'value',
|
|
|
- 'jiguang'
|
|
|
+ 'jiguang'=>'',
|
|
|
),
|
|
|
))->options(array(
|
|
|
'apns_production' => True,
|