Browse Source

门店印象审核验证

zhangxiaobin 1 year ago
parent
commit
ad3fb99f6c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      application/api/controller/CompanyComment.php
  2. 1 1
      application/extra/site.php

+ 1 - 1
application/api/controller/CompanyComment.php

@@ -57,7 +57,7 @@ class CompanyComment extends Api
     {
         try {
             //用于上架审核提示
-            $commentSwitch = config('site.comment_switch');echo '<pre>';var_dump($commentSwitch);exit;
+            $commentSwitch = config('site.comment_switch');
             if ($commentSwitch == 1) {
                 $this->success('提交成功,请等待审核。');
             }

+ 1 - 1
application/extra/site.php

@@ -45,5 +45,5 @@ return array (
   'max_withdrawal_money' => '10000',
   'article_name' => '蓝精灵官方',
   'article_avatar' => '/uploads/20230608/68bab200ae016db0fbe31e91ff370ecf.png',
-  'comment_switch' => 0,
+  'comment_switch' => '1',
 );