Преглед на файлове

修改接口:编辑网民留言

FengR преди 1 месец
родител
ревизия
60c7ffdaf7
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      app/JsonRpc/NewsService.php

+ 2 - 0
app/JsonRpc/NewsService.php

@@ -8965,6 +8965,8 @@ class NewsService implements NewsServiceInterface
     }
     if($user['type_id'] == 10000){
       $data['status'] = 1;
+    }else{
+      $data['status'] = 0;
     }
     $message = Message::where('id', $data['id'])->first();
     if (empty($message)) {