rabin 3 năm trước cách đây
mục cha
commit
84f2da473f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Address.php

+ 1 - 1
src/Address.php

@@ -21,7 +21,7 @@ class Address  extends Base
     {
         $where['uid'] = $uid;
         $where['id'] = $id;
-        $data = Dever::db('passport/address')->find($where);
+        $data = Dever::db('passport/address')->one($where);
 
         if ($data && Dever::project('area')) {
             $data = $this->getInfo($data);