You've already forked qlg.tsgz.moe
TradeRule后台添加大体
This commit is contained in:
23
hyhproject/admin/controller/TradeRule.php
Normal file
23
hyhproject/admin/controller/TradeRule.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace wstmart\admin\controller;
|
||||
|
||||
use wstmart\admin\model\TradeRule as M;
|
||||
|
||||
class TradeRule extends Base
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
return $this->fetch("list");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取分页
|
||||
*/
|
||||
public function pageQuery(){
|
||||
$m = new M();
|
||||
$rs = $m->pageQuery();
|
||||
return WSTGrid($rs);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user