Parcourir la source

添加分页status

chenxiqiang il y a 7 ans
Parent
révision
fdea9271cd
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0
    1
      manage-server/app/Http/Controllers/ProductController.php

+ 0
- 1
manage-server/app/Http/Controllers/ProductController.php Voir le fichier

59
     {
59
     {
60
 
60
 
61
         $json = Product::paginate(20)->toJson();
61
         $json = Product::paginate(20)->toJson();
62
-        $json->status = 0;
63
         return $json;
62
         return $json;
64
     }
63
     }
65
 }
64
 }

Loading…
Annuler
Enregistrer