bianjunhui 2 年之前
父节点
当前提交
1e3bd90f1e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/Message.php

+ 1 - 1
application/api/controller/Message.php

@@ -68,7 +68,7 @@ class Message extends Api
         $notification->setIncludedSegments([$segment]);
         $data['url']='https://www.westkiss.com/';
         $data['type']=0;
-        $jsons = json_encode($data);
+        $jsons = json($data);
         $notification->setData($jsons);
         return $notification;
     }