|
|
@@ -16,6 +16,19 @@ class CategoryController extends BaseController
|
|
|
//获取分类 ssh 2019.12.2
|
|
|
public function actionList()
|
|
|
{
|
|
|
+
|
|
|
+ //普莲花艺、叶上花、丰行、小武鲜花不能在花卉宝下单,多处要同步修改,关键词ls_mall_not_open
|
|
|
+ $mainId = $this->mainId;
|
|
|
+ if (getenv('YII_ENV') == 'production') {
|
|
|
+ if (in_array($mainId, [40057, 4750, 7779, 42940])) {
|
|
|
+ util::fail('暂时无法访问');
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ if (in_array($mainId, [0, 1])) {
|
|
|
+ util::fail('暂时无法访问');
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
//建立客户关系
|
|
|
CustomClass::buildRelation($this->shop, $this->user);
|
|
|
$mainId = $this->mainId ?? 0;
|