moonsflyer 3 месяцев назад
Родитель
Сommit
e30c591e54
1 измененных файлов с 1 добавлено и 1 удалено
  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){
         $where[]=['id','=',$id];
-        $info  = SpecialArea::where($where)->findOrEmpty();
+        $info  = SpecialArea::where($where)->find()->toArray();
         return $info;
     }