Commit 9ffd0836 authored by liuyuzhen's avatar liuyuzhen

测试数据

parent a4fdf139
......@@ -61,12 +61,10 @@ class StoreServiceModel extends \Business\AbstractModel{
$result = $favoritesStoreDao->insertAll($storeMembers);
}else{
\Our\Log::getInstance()->write($param['key'].'无会员','/data/log/special');
session_id($param['key']);
$sess=\Yaf\Session::getInstance();
$sess->start();
$scan_store_ids = $sess->get('scan_store_ids');
is_array($scan_store_ids) ? $scan_store_ids = $scan_store_ids : $scan_store_ids = [];
array_push($scan_store_ids,$storeId);
is_array($scan_store_ids) ? $scan_store_ids = $scan_store_ids : $scan_store_ids = array();
$scan_store_ids[]= $storeId;
$tempStoreIds = array_unique($scan_store_ids);
\Our\Log::getInstance()->write(json_encode($tempStoreIds,true),'/data/log/special');
$sess['scan_store_ids'] = $tempStoreIds;
......
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