Commit 50c653a1 authored by wwccw0591's avatar wwccw0591

recieve

parent b6b9ada5
...@@ -297,6 +297,8 @@ class OrderServiceModel extends \Business\AbstractModel ...@@ -297,6 +297,8 @@ class OrderServiceModel extends \Business\AbstractModel
$returnData['offlinePayway'] = $this->store['offlinePayway'] ? $this->store['offlinePayway'] : ''; $returnData['offlinePayway'] = $this->store['offlinePayway'] ? $this->store['offlinePayway'] : '';
$this->address['address']=$orderCommonDao->convertReceiveAddress($this->address['address']); $this->address['address']=$orderCommonDao->convertReceiveAddress($this->address['address']);
$returnData['reciverInfo'] = $this->address; $returnData['reciverInfo'] = $this->address;
$returnData['reciverInfo']['mobPhone']=!empty($returnData['reciverInfo']['mobPhone'])?$returnData['reciverInfo']['mobPhone']:'';
$returnData['reciverInfo']['telPhone']=!empty($returnData['reciverInfo']['telPhone'])?$returnData['reciverInfo']['telPhone']:'';
$returnData['reciverInfo']['lng']=!empty($returnData['reciverInfo']['lng'])?$returnData['reciverInfo']['lng']:ApiConst::zero; $returnData['reciverInfo']['lng']=!empty($returnData['reciverInfo']['lng'])?$returnData['reciverInfo']['lng']:ApiConst::zero;
$returnData['reciverInfo']['lat']=!empty($returnData['reciverInfo']['lat'])?$returnData['reciverInfo']['lat']:ApiConst::zero; $returnData['reciverInfo']['lat']=!empty($returnData['reciverInfo']['lat'])?$returnData['reciverInfo']['lat']:ApiConst::zero;
$refundStateName = $orderDao->getRefundText($this->order); $refundStateName = $orderDao->getRefundText($this->order);
...@@ -879,6 +881,7 @@ class OrderServiceModel extends \Business\AbstractModel ...@@ -879,6 +881,7 @@ class OrderServiceModel extends \Business\AbstractModel
//收货人信息 //收货人信息
$this->orderCommon = \Our\RedisHelper::cachedFunction(\Redis\Db5\OrderRedisModel::getInstance(), array(&$orderCommonDao, 'findByOrderId'), array($orderId, $orderCommonDao->orderCommonField), \Our\ApiConst::oneDaySecond); $this->orderCommon = \Our\RedisHelper::cachedFunction(\Redis\Db5\OrderRedisModel::getInstance(), array(&$orderCommonDao, 'findByOrderId'), array($orderId, $orderCommonDao->orderCommonField), \Our\ApiConst::oneDaySecond);
$reciverInfo = unserialize($this->orderCommon['reciverInfo']); $reciverInfo = unserialize($this->orderCommon['reciverInfo']);
//定单商品表 //定单商品表
$this->orderGoodsList = \Our\RedisHelper::cachedFunction(\Redis\Db5\OrderRedisModel::getInstance(), array(&$orderGoodsDao, 'getOrderGoodsByOrderIds'), array($orderId, $this->getGoodsDetailField()), \Our\ApiConst::oneDaySecond); $this->orderGoodsList = \Our\RedisHelper::cachedFunction(\Redis\Db5\OrderRedisModel::getInstance(), array(&$orderGoodsDao, 'getOrderGoodsByOrderIds'), array($orderId, $this->getGoodsDetailField()), \Our\ApiConst::oneDaySecond);
if (empty($this->orderGoodsList)) { if (empty($this->orderGoodsList)) {
......
<?php <?php
$arr=json_decode('{"phone":18305954597,"mob_phone":18305954597,"tel_phone":18305954597,"address":"江滨西大道120号","name":"身边店友_110667","area":"福建省福州市仓山区","street":"江滨西大道120号","lng":"119.280337","lat":"26.057641","citycode":"0591","address_id":"","subaddress":"江滨西大道120号"}',true);
echo serialize($arr);exit;
date_default_timezone_set("Asia/Shanghai"); date_default_timezone_set("Asia/Shanghai");
mb_internal_encoding("UTF-8"); mb_internal_encoding("UTF-8");
define("TIMESTAMP",time()); define("TIMESTAMP",time());
......
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