xielin 5 anni fa
parent
commit
363050d0ef
1 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. 2 4
      app/Repositories/Post/PostRepository.php

+ 2 - 4
app/Repositories/Post/PostRepository.php

@@ -654,10 +654,8 @@ class PostRepository
             if($post->is_suggest==1){
             if($post->is_suggest==1){
                 $title = $post['title'] ? $post['title'] : subtext($post['content'], 18);
                 $title = $post['title'] ? $post['title'] : subtext($post['content'], 18);
                 $push['uid'] = $post->uid;
                 $push['uid'] = $post->uid;
-                //$push['title'] = '【由你内容】推荐通知';
-                $push['title'] = '推荐通知';
-                //$push['text'] = '你的内容《'.$title.'》被小编推荐全平台优先展示喽,获得推荐位后你的内容会被更多人看到。记得多来和大家互动赚取更多U米~';
-                $push['text'] = '你的内容《'.$title.'》被小编推荐全平台优先展示喽';
+                $push['title'] = '【由你内容】推荐通知';
+                $push['text'] = '你的内容《'.$title.'》被小编推荐全平台优先展示喽,获得推荐位后你的内容会被更多人看到。记得多来和大家互动赚取更多U米~';
                 Redis::LPUSH('send_push_msg_queue',json_encode($push));
                 Redis::LPUSH('send_push_msg_queue',json_encode($push));
 
 
                 $rabbitmq = new RabbitMqUtil();
                 $rabbitmq = new RabbitMqUtil();