moonsflyer 4 月之前
父节点
当前提交
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;
     }