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;
     }