gq 7 years ago
parent
commit
4a7034e84c

+ 1 - 1
server/app/Console/Commands/DreamDJS.php

xqd
@@ -123,7 +123,7 @@ class DreamDJS extends Command
                     if (!empty($top)) {
                         foreach ($top as $k => $v) {
                             $key = array_search($v,$new_arr);  //排名
-                            $message = $item->name."已经结束啦!谢谢你的支持,你可是他的第".($key+1)."支持者哦!";
+                            $message = '《'.$item->name."已经结束啦!谢谢你的支持,你可是他的第".($key+1)."支持者哦!";
                             if (empty($key)) { //最大支持者
                                 $message = "恭喜你成为《".$item->name."》的《梦主》! ";
                                 $info =  $dream_user->nickname."会以你提供的微信/电话联系你约好时间地点亲自感谢你给予的支持和鼓励。如果你不希望见面或不想要梦想者拥有你的联系方式,请按《不需要见面》的按钮或联系客服。";

+ 1 - 1
server/app/Http/Controllers/Api/V1/DreamController.php

xqd
@@ -586,7 +586,7 @@ class DreamController extends Controller
         if ($top_user_id != $old_top_user_id) {   //新的最大支持者不是以前的最大支持者时
             $arr = [
                 'user_id'=>0,
-                'message'=>"你已不是《".$dream->name."》的《梦主》啦!(".$user->nickname.")以$new_arr[0]分刚取代你的位置",
+                'message'=>"你已不是《".$dream->name."》的《梦主》啦!"."<span style='color: #00c3da'>[$user->nickname]</span> "."以$new_arr[0]分刚取代你的位置",
                 'to_user_id'=>$old_top_user_id,
                 'dream_id'=>$dream_id,
                 'is_url'=>1,

+ 2 - 2
server/app/Http/Controllers/Api/V1/InteractionController.php

xqd xqd
@@ -172,7 +172,7 @@ class InteractionController extends Controller
                 $data['to_user_avatar'] = $to_user->avatar;
                 $data['to_user_nickname'] = $to_user->nickname;
 //点击去看看
-                $message = $user->nickname.'在你的互动上留言啦!点击去看看';
+                $message = ""."<span style='color: #00c3da'>[$user->nickname]</span> ".'在你的互动上留言啦!点击去看看';
                 $info = [
                     'to_user_id' => $data['to_user_id'],
                     'message' => $message,
@@ -189,7 +189,7 @@ class InteractionController extends Controller
             }
         }
         if (!empty($request->input('u_id'))) {
-            $message = $user->nickname.'提起了你哦~点击看看!';
+            $message = ""."<span style='color: #00c3da'>[$user->nickname]</span> ".'提起了你哦~点击看看!';
             $info = [
                 'to_user_id' => $request->input('u_id'),
                 'message' => $message,