Commit e70e79b6 authored by wwccw0591's avatar wwccw0591

pc

parent 2ca126d5
......@@ -559,13 +559,14 @@ class OrderServiceModel extends \Business\AbstractModel
$reciverInfo = unserialize($this->orderCommon['reciverInfo']);
//定单商品表
$this->orderGoodsList = \Our\RedisHelper::cachedFunction(\Redis\Db5\OrderRedisModel::getInstance(), array(&$orderGoodsDao, 'getOrderGoodsByOrderIds'), array($orderId, $this->getGoodsDetailField()), \Our\ApiConst::oneDaySecond);
echo json_encode($this->orderGoodsList );exit;
if(empty($this->orderGoodsList)){
ErrorModel::throwException(CodeConfigModel::notExistOrderGoods);
}
//商店相关信息
$this->store = \Our\RedisHelper::cachedFunction(\Redis\Db5\OrderRedisModel::getInstance(), array(&$storeDao, 'getInfoById'), array($this->order['storeId'], $this->storeField), \Our\ApiConst::oneDaySecond);
$orderGoods=$goodsDao->convert($this->orderGoodsList);
echo json_encode($orderGoods);exit;
if(empty($orderGoods)){
$orderGoods=array();
}
......
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