wupengfei 2 years ago
parent
commit
ecef43fc7e
2 changed files with 2 additions and 3 deletions
  1. 1 1
      .idea/workspace.xml
  2. 1 2
      application/common/model/UserMessage.php

+ 1 - 1
.idea/workspace.xml

@@ -215,7 +215,7 @@
       <workItem from="1663807609347" duration="18144000" />
       <workItem from="1663893231881" duration="18711000" />
       <workItem from="1664152288609" duration="21956000" />
-      <workItem from="1664239350913" duration="8097000" />
+      <workItem from="1664239350913" duration="12188000" />
     </task>
     <servers />
   </component>

+ 1 - 2
application/common/model/UserMessage.php

@@ -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,