mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-04 21:09:43 +08:00
新增地址数据未定义修复
This commit is contained in:
parent
4be3cc0ad5
commit
64effe53c8
@ -69,6 +69,8 @@ class UserAddress extends Common
|
|||||||
$params['user'] = $this->user;
|
$params['user'] = $this->user;
|
||||||
$data = UserService::UserAddressRow($params);
|
$data = UserService::UserAddressRow($params);
|
||||||
$this->assign('data', $data['data']);
|
$this->assign('data', $data['data']);
|
||||||
|
} else {
|
||||||
|
$this->assign('data', []);
|
||||||
}
|
}
|
||||||
return $this->fetch();
|
return $this->fetch();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user