|
|
@@ -102,7 +102,7 @@ class GhsController extends BaseController
|
|
|
if (isset($this->shopId) && !empty($this->shopId)) {
|
|
|
|
|
|
$current = ShopClass::getById($shopId, true);
|
|
|
- if (isset($current->ptStyle) && $current->ptStyle != dict::getDict('ptStyle', 'ghs')) {
|
|
|
+ if (isset($current->ptStyle) == false || $current->ptStyle != dict::getDict('ptStyle', 'ghs')) {
|
|
|
util::fail('没有找到批发店');
|
|
|
}
|
|
|
|