...
|
...
|
@@ -270,12 +270,6 @@ class OrderpageController extends WeChatBaseController{ |
|
|
$indent_id = $this -> request -> param();
|
|
|
$uid = cmf_get_current_user_id();
|
|
|
$data = Db::name('address') -> where("delete_time = 0 and uid =".$uid) -> select() -> toArray();
|
|
|
if(!empty($data)){
|
|
|
foreach($data as $key => $val){
|
|
|
$detailed = explode(',',$val['detailed']);
|
|
|
$data[$key]['detailed'] = $detailed[0].$detailed[1];
|
|
|
}
|
|
|
}
|
|
|
$this -> assign('indent_id',$indent_id['indet_id']);
|
|
|
$this -> assign('data',$data);
|
|
|
return $this -> fetch();
|
...
|
...
|
@@ -333,9 +327,6 @@ class OrderpageController extends WeChatBaseController{ |
|
|
}else{
|
|
|
$id = $this -> request -> param();
|
|
|
$data = Db::name('address') -> where('id',$id['id']) -> find();
|
|
|
$detailed = explode(',',$data['detailed']);
|
|
|
$data['detailed0'] = $detailed[0];
|
|
|
$data['detailed1'] = $detailed[1];
|
|
|
$this -> assign('data',$data);
|
|
|
$this -> assign('indent_id',$id['indet_id']);
|
|
|
return $this -> fetch();
|
...
|
...
|
|