Commit 8f28aee4 authored by liuyuzhen's avatar liuyuzhen

到店自提

parent c76c5798
......@@ -1363,6 +1363,7 @@ class GoodsCommonServiceModel extends \Business\AbstractModel
break;
}
}
return true;
}
/**
......
......@@ -1156,6 +1156,7 @@ class StoreServiceModel extends \Business\AbstractModel{
$storeDao = \DAO\StoreModel::getInstance();
$storeDao->delNearbyStoresCache($cityCode);
$storeDao->delStoresCacheByCityCode($cityCode);
return true;
}
public function editQmStoreClass(){
......
......@@ -130,7 +130,9 @@ class StoreOnlineGoodsClassModel extends \DAO\AbstractModel{
$goodsClass['gc_id_3'] = $goodsCommon['gc_id_3'];
$goodsClass['store_id'] = $goodsCommon['store_id'];
$goodsClass['gc_from'] = \Our\ApiConst::zero;
$this->addChangedGoodsClass(serialize($goodsClass),$type);
if($goodsClass['gc_id_3']){
$this->addChangedGoodsClass(serialize($goodsClass),$type);
}
if($goodsCommon['goods_class_t_id']){
$goodsClass['gc_id_3'] = $goodsCommon['goods_class_t_id'];
$goodsClass['gc_from'] = \Our\ApiConst::one;
......
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