Commit fc5cbf0f authored by christ's avatar christ

clientOrder

parent f1fa4c29
...@@ -465,6 +465,7 @@ class ShopkeeperServiceModel extends \Business\AbstractModel ...@@ -465,6 +465,7 @@ class ShopkeeperServiceModel extends \Business\AbstractModel
if($count){ if($count){
$data['is_receive_payment']=TIMESTAMP; $data['is_receive_payment']=TIMESTAMP;
$updateId=$orderDao->updateByOrderId($data,$orderId); $updateId=$orderDao->updateByOrderId($data,$orderId);
$orderDao->deleteOrderCache($memberId,false,$storeId);
return $updateId; return $updateId;
}else{ }else{
ErrorModel::throwException(CodeConfigModel::notExsitOrder); ErrorModel::throwException(CodeConfigModel::notExsitOrder);
......
...@@ -41,10 +41,10 @@ class StoreModel extends \DAO\AbstractModel ...@@ -41,10 +41,10 @@ class StoreModel extends \DAO\AbstractModel
if (!empty($offlinPayway)) { if (!empty($offlinPayway)) {
$offlinPayway=unserialize($offlinPayway); $offlinPayway=unserialize($offlinPayway);
$res['images']=[]; $res['imageUrls']=[];
foreach($offlinPayway['images'] as $image){ foreach($offlinPayway['imageUrls'] as $image){
$image= \Our\Common::getStaticFile($image, \Our\ImageConst::storeLabel); $image= \Our\Common::getStaticFile($image, \Our\ImageConst::storeLabel);
array_push($res['images'],$image); array_push($res['imageUrls'],$image);
} }
$res['payway']=$offlinPayway['payway']?$offlinPayway['payway']:''; $res['payway']=$offlinPayway['payway']?$offlinPayway['payway']:'';
......
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