Commit 21c608e3 authored by liuyuzhen's avatar liuyuzhen

测试数据

parent 9c006c41
......@@ -41,7 +41,7 @@ class StoreServiceModel extends \Business\AbstractModel{
list($storeInfo,$storeLabel) = \DAO\StoreModel::getInstance()->get($storeId);
if((int)$param['isScan'] > 0) {
//扫码进入
\Our\Log::getInstance()->write($param['isScan'].' '.$memberId,'/data/log/special');
\Our\Log::getInstance()->write($param['key'].$param['isScan'].' '.$memberId,'/data/log/special');
if($memberId > 0) {
\Our\Log::getInstance()->write('会员','/data/log/special');
if($param['sid']) {
......@@ -60,7 +60,7 @@ class StoreServiceModel extends \Business\AbstractModel{
$favoritesStoreDao = \DAO\FavoritesStoreModel::getInstance();
$result = $favoritesStoreDao->insertAll($storeMembers);
}else{
\Our\Log::getInstance()->write('无会员','/data/log/special');
\Our\Log::getInstance()->write($param['key'].'无会员','/data/log/special');
$sess=\Yaf\Session::getInstance();
$scan_store_ids = $sess->get('scan_store_ids');
is_array($scan_store_ids) ? $scan_store_ids = $scan_store_ids : $scan_store_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