Commit 8ccd3b81 authored by lingqingmei's avatar lingqingmei

Merge branch 'ccw' of http://git.shenbd.com/api-project-dev/api.shenbd.com into master_dev

parents f7e36a0e b2312300
Pipeline #32 failed with stages
......@@ -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'];
......
......@@ -127,7 +127,7 @@ config.url.resourcesHost = "http://local.qm.com"
config.url.userHost = ""
; oss 域名
config.url.ossHost = "https://imgpre.shenbd.com"
config.url.ossHost = "https://img.shenbd.com"
;推送域名
config.url.pushHost="192.168.1.201:9503";
......
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