|
@@ -64,9 +64,6 @@ class ShopController extends BaseController
|
|
|
//是否开启完整功能 ssh 20230226
|
|
//是否开启完整功能 ssh 20230226
|
|
|
public function actionChangeOnlyCg()
|
|
public function actionChangeOnlyCg()
|
|
|
{
|
|
{
|
|
|
- if (getenv('YII_ENV') == 'production') {
|
|
|
|
|
- util::fail('操作失败');
|
|
|
|
|
- }
|
|
|
|
|
$shop = $this->shop;
|
|
$shop = $this->shop;
|
|
|
$get = Yii::$app->request->get();
|
|
$get = Yii::$app->request->get();
|
|
|
$onlyCg = $get['onlyCg'] ?? 1;
|
|
$onlyCg = $get['onlyCg'] ?? 1;
|