Update ShopTruckTemplate.php

This commit is contained in:
邹景立 2021-01-28 11:08:23 +08:00
parent 660f5d30df
commit fbcb40bf1c

View File

@ -20,7 +20,7 @@ class ShopTruckTemplate extends Controller
private $table = 'ShopTruckTemplate'; private $table = 'ShopTruckTemplate';
/** /**
* 快递邮费配置 * 快递邮费模板
* @auth true * @auth true
* @menu true * @menu true
* @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DataNotFoundException
@ -29,7 +29,7 @@ class ShopTruckTemplate extends Controller
*/ */
public function index() public function index()
{ {
$this->title = '快递邮费配置'; $this->title = '快递邮费模板';
$query = $this->_query($this->table); $query = $this->_query($this->table);
$query->like('code,name')->dateBetween('create_at'); $query->like('code,name')->dateBetween('create_at');
$query->where(['deleted' => 0])->order('sort desc,id desc')->page(); $query->where(['deleted' => 0])->order('sort desc,id desc')->page();