15313670163 2 달 전
부모
커밋
15a0a8c423
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 
     { 
-        $provinces=District::where('pid',0)->where('status',1)->get();
+        $provinces=District::where('pid',0)->where('status',1)->orderBy('code')->get();
        
         if(isset($data['province'])){ 
             $province=District::where('pid',0)->where('status',1)->where('id',$data['province'])->orderBy('code')->get();

+ 1 - 1
runtime/hyperf.pid

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