Commit 7a304313 authored by christ's avatar christ

pc

parent 4648105d
......@@ -642,7 +642,7 @@ class RefundServiceModel extends \Business\AbstractModel
$storeDao = \DAO\StoreModel::getInstance();
$refundReasonList = \Our\RedisHelper::cachedFunction(\Redis\Db5\RefundReasonRedisModel::getInstance(), array(&$refundReasonDao, 'getAll'), array($this->refunReasonField), \Our\ApiConst::oneDaySecond);
$shippingTypes = array_values(ArrayConst::refundShippingType);
$refundTypes = array_values(ArrayConst::refundTypes);
$cartDao = \DAO\Cart\CartModel::getInstance();
......@@ -652,7 +652,9 @@ class RefundServiceModel extends \Business\AbstractModel
if (empty($orderInfo)) {
ErrorModel::throwException(CodeConfigModel::notExistRefund);
}
$shippingTypes=array();
array_push($shippingTypes,ArrayConst::refundShippingType[$orderInfo['shippingType']]);
// $shippingTypes = ArrayConst::refundShippingType[$orderInfo['shippingType']];
//获得订单商品
$orderGoodsDao = \DAO\Order\OrderGoodsModel::getInstance();
$orderGoodses = \Our\RedisHelper::cachedFunction(\Redis\Db5\RefundReasonRedisModel::getInstance(), array(&$orderGoodsDao, 'getOrderGoodsByOrderIds'), array($orderInfo['orderId'], $this->orderGoodsField), \Our\ApiConst::oneDaySecond);
......
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