moonsflyer 3 mesi fa
parent
commit
e30c591e54
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/shopapi/logic/UserAddressLogic.php

+ 1 - 1
app/shopapi/logic/UserAddressLogic.php

@@ -227,7 +227,7 @@ class UserAddressLogic extends BaseLogic
 	}
 	}
     public static function getSpecialAreaInfo($id){
     public static function getSpecialAreaInfo($id){
         $where[]=['id','=',$id];
         $where[]=['id','=',$id];
-        $info  = SpecialArea::where($where)->findOrEmpty();
+        $info  = SpecialArea::where($where)->find()->toArray();
         return $info;
         return $info;
     }
     }