Commit 704efe7c authored by liuyuzhen's avatar liuyuzhen

扫码问题

parent f02c4297
......@@ -366,12 +366,13 @@ class StoreModel extends \DAO\AbstractModel
}
if ($storeInfo['open_flag'] != 1 || $storeInfo['store_state'] != 1) {
if ($reportError) {
if($storeInfo['open_flag'] != 1) {
/*if($storeInfo['open_flag'] != 1) {
// \Error\ErrorModel::throwException(\Error\CodeConfigModel::storeNotOpen);
\Error\ErrorModel::throwException(\Error\CodeConfigModel::storeNotExistOrClose);
}else{
\Error\ErrorModel::throwException(\Error\CodeConfigModel::storeNotExistOrClose);
}
}*/
\Error\ErrorModel::throwException(\Error\CodeConfigModel::storeNotExistOrClose);
} else {
$storeInfo['isClose'] = 1;
}
......
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