Commit 88403251 authored by liuyuzhen's avatar liuyuzhen

测试数据

parent 9ffd0836
...@@ -67,7 +67,11 @@ class StoreServiceModel extends \Business\AbstractModel{ ...@@ -67,7 +67,11 @@ class StoreServiceModel extends \Business\AbstractModel{
$scan_store_ids[]= $storeId; $scan_store_ids[]= $storeId;
$tempStoreIds = array_unique($scan_store_ids); $tempStoreIds = array_unique($scan_store_ids);
\Our\Log::getInstance()->write(json_encode($tempStoreIds,true),'/data/log/special'); \Our\Log::getInstance()->write(json_encode($tempStoreIds,true),'/data/log/special');
$sess['scan_store_ids'] = $tempStoreIds; foreach($tempStoreIds as $tempId){
$tempIds[] = $tempId;
}
\Our\Log::getInstance()->write(json_encode($tempIds,true),'/data/log/special');
$sess['scan_store_ids'] = $tempIds;
if($param['sid']) { if($param['sid']) {
$scan_sale_ids = $sess->get('scan_sale_ids'); $scan_sale_ids = $sess->get('scan_sale_ids');
is_array($scan_sale_ids) ? $scan_sale_ids = $scan_sale_ids : $scan_sale_ids = []; is_array($scan_sale_ids) ? $scan_sale_ids = $scan_sale_ids : $scan_sale_ids = [];
......
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