...
|
...
|
@@ -125,12 +125,12 @@ class OrderpageController extends WeChatBaseController{ |
|
|
if(empty($address)){
|
|
|
$this -> assign('address',4);
|
|
|
}else{
|
|
|
$address_arr = explode(',',$address['']);
|
|
|
$address_arr = explode(',',$address['detailed']);
|
|
|
$address['detailed'] = $address_arr[0].$address_arr[1];
|
|
|
$indet_data = Db::name('indent') -> where("id",$indent_id['indet_id']) -> find();
|
|
|
if($indet_data['state'] == 4){
|
|
|
$indet_data_update['id'] = $indent_id['indet_id'];
|
|
|
$indet_data_update['indent_address'] = $address['detailed'];
|
|
|
$indet_data_update['indent_address'] = $address['id'];
|
|
|
$indet_data_update['name'] = $address['name'];
|
|
|
$indet_data_update['phone'] = $address['phone'];
|
|
|
Db::name('indent') -> update($indet_data_update);
|
...
|
...
|
|