...
|
...
|
@@ -23,6 +23,7 @@ class OrderpageController extends WeChatBaseController{ |
|
|
if(!empty($indet_id['address_id'])){
|
|
|
$address = Db::name('address') -> where('id',$indet_id['address_id']) -> find();
|
|
|
$this -> assign('address',$address);
|
|
|
$this -> assign('address_id',$indet_id['address_id']);
|
|
|
}else{
|
|
|
$address = Db::name('address') -> where("uid=".$uid." and default_address=1 and delete_time = 0") -> find();
|
|
|
if(empty($address)){
|
...
|
...
|
|