Sfoglia il codice sorgente

Merge branch 'master' of http://git.qiniu1314.com/Kirin/shenying

Kirin 2 anni fa
parent
commit
e6b1ea9800
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/controller/api/v1/PublicController.php

+ 1 - 1
app/controller/api/v1/PublicController.php

@@ -68,7 +68,7 @@ class PublicController extends BaseController
 
 
     public function test()
     public function test()
     {
     {
-        $orders = StoreOrder::where('pid', '>', 0)->where('supplier_id', '>', 0)->select();
+        $orders = StoreOrder::where('pid', '>=', 0)->where('supplier_id', '>', 0)->select();
         var_dump(count($orders));
         var_dump(count($orders));
         foreach ($orders as $v) {
         foreach ($orders as $v) {