Commit fc5cbf0f authored by christ's avatar christ

clientOrder

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