Commit a2651521 authored by liuyuzhen's avatar liuyuzhen

测试店铺

parent 9388f9c2
...@@ -64,6 +64,9 @@ class StoreServiceModel extends \Business\AbstractModel{ ...@@ -64,6 +64,9 @@ class StoreServiceModel extends \Business\AbstractModel{
$sess=\Yaf\Session::getInstance(); $sess=\Yaf\Session::getInstance();
$scan_store_ids = $sess->get('scan_store_ids'); $scan_store_ids = $sess->get('scan_store_ids');
if($scan_store_ids){ if($scan_store_ids){
if(is_array($scan_store_ids)){//兼容历史数据,如果有历史数据
$scan_store_ids = implode(',',$scan_store_ids);
}
if(strpos(','.$scan_store_ids.',',','.$storeId.',')===false){ if(strpos(','.$scan_store_ids.',',','.$storeId.',')===false){
$scan_store_ids .= ','.$storeId; $scan_store_ids .= ','.$storeId;
} }
......
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