544782275@qq.com 3 years ago
parent
commit
70be934de8
2 changed files with 20 additions and 20 deletions
  1. 10 10
      application/store/controller/Consult.php
  2. 10 10
      application/store/controller/ConsultCate.php

+ 10 - 10
application/store/controller/Consult.php

@@ -20,7 +20,7 @@ use library\tools\Data;
 use think\Db;
 
 /**
- * 咨询管理
+ * 资讯管理
  * Class Consult
  * @package app\store\controller
  */
@@ -33,7 +33,7 @@ class Consult extends Controller
     protected $table = 'StoreConsult';
 
     /**
-     * 咨询管理
+     * 资讯管理
      * @auth true
      * @menu true
      * @throws \think\Exception
@@ -44,7 +44,7 @@ class Consult extends Controller
      */
     public function index()
     {
-        $this->title = '咨询管理';
+        $this->title = '资讯管理';
         $query = $this->_query($this->table)->equal('status,cate_id,type')->like('title');
         $query->where(['is_deleted' => '0'])->order(['is_recommend'=>'desc','sort'=>'desc','id'=>'desc'])->page();
     }
@@ -74,7 +74,7 @@ class Consult extends Controller
     }
 
     /**
-     * 添加咨询
+     * 添加资讯
      * @auth true
      * @throws \think\Exception
      * @throws \think\db\exception\DataNotFoundException
@@ -84,7 +84,7 @@ class Consult extends Controller
      */
     public function add()
     {
-        $this->title = '添加咨询信息';
+        $this->title = '添加资讯信息';
         $this->cate_arr = Db::name('store_consult_cate')->field('id,title')->where('status',1)->where('is_deleted',0)->select();
         $this->media_arr = Db::name('store_media')->field('id,title')->where('status',1)->where('is_deleted',0)->select();
         $this->is_recommend = array('0'=>'不推荐','1'=>'推荐');
@@ -92,7 +92,7 @@ class Consult extends Controller
     }
 
     /**
-     * 编辑咨询
+     * 编辑资讯
      * @auth true
      * @throws \think\Exception
      * @throws \think\db\exception\DataNotFoundException
@@ -102,7 +102,7 @@ class Consult extends Controller
      */
     public function edit()
     {
-        $this->title = '编辑咨询信息';
+        $this->title = '编辑资讯信息';
         $this->_form($this->table, 'form');
     }
 
@@ -147,7 +147,7 @@ class Consult extends Controller
     }
 
     /**
-     * 禁用咨询
+     * 禁用资讯
      * @auth true
      * @throws \think\Exception
      * @throws \think\exception\PDOException
@@ -158,7 +158,7 @@ class Consult extends Controller
     }
 
     /**
-     * 启用咨询
+     * 启用资讯
      * @auth true
      * @throws \think\Exception
      * @throws \think\exception\PDOException
@@ -169,7 +169,7 @@ class Consult extends Controller
     }
 
     /**
-     * 删除咨询
+     * 删除资讯
      * @auth true
      * @throws \think\Exception
      * @throws \think\exception\PDOException

+ 10 - 10
application/store/controller/ConsultCate.php

@@ -18,7 +18,7 @@ namespace app\store\controller;
 use library\Controller;
 
 /**
- * 咨询分类管理
+ * 资讯分类管理
  * Class GoodsCate
  * @package app\store\controller
  */
@@ -31,7 +31,7 @@ class ConsultCate extends Controller
     protected $table = 'StoreConsultCate';
 
     /**
-     * 咨询分类管理
+     * 资讯分类管理
      * @auth true
      * @menu true
      * @throws \think\Exception
@@ -42,13 +42,13 @@ class ConsultCate extends Controller
      */
     public function index()
     {
-        $this->title = '咨询分类管理';
+        $this->title = '资讯分类管理';
         $query = $this->_query($this->table)->like('title')->equal('status');
         $query->where(['is_deleted' => '0'])->order('sort desc,id desc')->page();
     }
 
     /**
-     * 添加咨询分类
+     * 添加资讯分类
      * @auth true
      * @throws \think\Exception
      * @throws \think\db\exception\DataNotFoundException
@@ -58,12 +58,12 @@ class ConsultCate extends Controller
      */
     public function add()
     {
-        $this->title = '添加咨询分类';
+        $this->title = '添加资讯分类';
         $this->_form($this->table, 'form');
     }
 
     /**
-     * 编辑咨询分类
+     * 编辑资讯分类
      * @auth true
      * @throws \think\Exception
      * @throws \think\db\exception\DataNotFoundException
@@ -73,12 +73,12 @@ class ConsultCate extends Controller
      */
     public function edit()
     {
-        $this->title = '编辑咨询分类';
+        $this->title = '编辑资讯分类';
         $this->_form($this->table, 'form');
     }
 
     /**
-     * 禁用咨询分类
+     * 禁用资讯分类
      * @auth true
      * @throws \think\Exception
      * @throws \think\exception\PDOException
@@ -89,7 +89,7 @@ class ConsultCate extends Controller
     }
 
     /**
-     * 启用咨询分类
+     * 启用资讯分类
      * @auth true
      * @throws \think\Exception
      * @throws \think\exception\PDOException
@@ -100,7 +100,7 @@ class ConsultCate extends Controller
     }
 
     /**
-     * 删除咨询分类
+     * 删除资讯分类
      * @auth true
      * @throws \think\Exception
      * @throws \think\exception\PDOException