|
@@ -4,7 +4,7 @@ use library\Controller;
|
|
|
use think\Db;
|
|
|
|
|
|
/**
|
|
|
- * 亚健康
|
|
|
+ * 资讯标签(资讯)
|
|
|
* Class SubHealth
|
|
|
* @package app\mall\controller
|
|
|
*/
|
|
@@ -18,7 +18,7 @@ class SubHealth extends Controller
|
|
|
protected $table = 'NutritionCase';
|
|
|
|
|
|
/**
|
|
|
- * 亚健康列表
|
|
|
+ * 资讯标签
|
|
|
* @auth true
|
|
|
* @menu true
|
|
|
* @throws \think\Exception
|
|
@@ -29,7 +29,7 @@ class SubHealth extends Controller
|
|
|
*/
|
|
|
public function index()
|
|
|
{
|
|
|
- $this->title = '亚健康列表';
|
|
|
+ $this->title = '资讯标签';
|
|
|
$query = $this->_query($this->table)->where('is_deleted',0);
|
|
|
$query->like('title');
|
|
|
$query->order(' sort desc , id desc')->page();
|
|
@@ -56,7 +56,7 @@ class SubHealth extends Controller
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * 添加亚健康
|
|
|
+ * 添加
|
|
|
* @auth true
|
|
|
* @menu true
|
|
|
* @throws \think\Exception
|
|
@@ -67,13 +67,13 @@ class SubHealth extends Controller
|
|
|
*/
|
|
|
public function add()
|
|
|
{
|
|
|
- $this->title = '添加亚健康';
|
|
|
+ $this->title = '添加专题';
|
|
|
$this->_form($this->table, 'form');
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * 编辑亚健康
|
|
|
+ * 编辑
|
|
|
* @auth true
|
|
|
* @menu true
|
|
|
* @throws \think\Exception
|
|
@@ -84,7 +84,7 @@ class SubHealth extends Controller
|
|
|
*/
|
|
|
public function edit()
|
|
|
{
|
|
|
- $this->title = '编辑亚健康';
|
|
|
+ $this->title = '编辑';
|
|
|
$this->_form($this->table, 'form');
|
|
|
}
|
|
|
|