Commit b2312300 authored by chenchuanwen's avatar chenchuanwen

pc

parent 1e032787
......@@ -1389,11 +1389,13 @@ class RefundServiceModel extends \Business\AbstractModel
$addressDao = \DAO\Order\DAddressModel::getInstance();
$info = $refundReturn;
if ($refundReturn['refundType'] == ApiConst::refundTypeGoods) {
if ($refundReturn['addressId']) {
$address = $addressDao->getAddressByAddressId($refundReturn['addressId'], $this->daddressField);
} else {
$address = $addressDao->getAddressByStoreId($refundReturn['storeId'], $this->daddressField);
}
// if ($refundReturn['addressId']) {
// $address = $addressDao->getAddressByAddressId($refundReturn['addressId'], $this->daddressField);
// } else {
// $address = $addressDao->getAddressByStoreId($refundReturn['storeId'], $this->daddressField);
// }
// $address['areaInfo']=Common::getRealStr($address['areaInfo']);
$address=$refundReturn['reciverInfo'];
$address['areaInfo']=Common::getRealStr($address['areaInfo']);
if(!empty($address)){
$address['isDefault'] = (int)$address['isDefault'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment