kuaifan il y a 5 ans
Parent
commit
b5bdcc58c0

+ 1 - 0
app/Http/Controllers/Api/DocsController.php

@@ -45,6 +45,7 @@ class DocsController extends Controller
         //
         $lists = DB::table('docs_book')
             ->where('username', $user['username'])
+            ->orWhere('role_edit', 'reg')
             ->orWhere(function ($query) use ($user) {
                 $query->where('role_edit', 'private')->where('username', $user['username']);
             })

+ 1 - 1
app/Http/Controllers/IndexController.php

@@ -14,7 +14,7 @@ use Redirect;
 class IndexController extends Controller
 {
 
-    private $version = '1.4.3';
+    private $version = '1.4.4';
 
     public function __invoke($method, $action = '', $child = '')
     {