rabin hai 1 ano
pai
achega
5fc05c0788
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      api/Page/Data.php

+ 3 - 0
api/Page/Data.php

@@ -96,6 +96,9 @@ class Data extends Page
         }
         # 是否保留html代码,1是保留,2是不保留
         $html = Dever::input('html', '', '', 1);
+        if (isset($v['_id'])) {
+            $result['id'] = $v['_id'];
+        }
         if (isset($v['id'])) {
             $result['id'] = $v['id'];
         }