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