15313670163 1 mesiac pred
rodič
commit
15a0a8c423
2 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 1 1
      app/JsonRpc/WebsiteService.php
  2. 1 1
      runtime/hyperf.pid

+ 1 - 1
app/JsonRpc/WebsiteService.php

@@ -564,7 +564,7 @@ class WebsiteService implements WebsiteServiceInterface
      */ 
      */ 
     public function selectWebsiteArea(array $data): array 
     public function selectWebsiteArea(array $data): array 
     { 
     { 
-        $provinces=District::where('pid',0)->where('status',1)->get();
+        $provinces=District::where('pid',0)->where('status',1)->orderBy('code')->get();
        
        
         if(isset($data['province'])){ 
         if(isset($data['province'])){ 
             $province=District::where('pid',0)->where('status',1)->where('id',$data['province'])->orderBy('code')->get();
             $province=District::where('pid',0)->where('status',1)->where('id',$data['province'])->orderBy('code')->get();

+ 1 - 1
runtime/hyperf.pid

@@ -1 +1 @@
-14988
+10369