|
|
@@ -60,15 +60,15 @@ class OrderController extends BaseController
|
|
|
$post['mainId'] = $this->mainId ?? 0;
|
|
|
$post['userId'] = $this->userId ?? 0;
|
|
|
|
|
|
- //普莲花艺限制不能在花卉宝下单
|
|
|
+ //普莲花艺、叶上花限制不能在花卉宝下单,多处要同步修改,关键词ls_mall_not_open
|
|
|
$mainId = $this->mainId;
|
|
|
if (getenv('YII_ENV') == 'production') {
|
|
|
- if($mainId == 40057){
|
|
|
- util::fail('请到绿色【花掌柜】小程序买花');
|
|
|
+ if(in_array($mainId,[40057,4750])){
|
|
|
+ util::fail('暂时无法访问');
|
|
|
}
|
|
|
}else{
|
|
|
- if($mainId == 644){
|
|
|
- util::fail('请到绿色【花掌柜】小程序买花');
|
|
|
+ if(in_array($mainId,[644,0])){
|
|
|
+ util::fail('暂时无法访问');
|
|
|
}
|
|
|
}
|
|
|
|