You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
37
hyhproject/admin/controller/Ectday.php
Executable file
37
hyhproject/admin/controller/Ectday.php
Executable file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
namespace wstmart\admin\controller;
|
||||
use wstmart\admin\model\EctDay as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 提现控制器
|
||||
*/
|
||||
class Ectday extends Base{
|
||||
public function index(){
|
||||
return $this->fetch("list");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取分页
|
||||
*/
|
||||
public function pageQuery(){
|
||||
$m = new M();
|
||||
return WSTGrid($m->pageQuery());
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出
|
||||
*/
|
||||
public function toExport(){
|
||||
$m = new M();
|
||||
$rs = $m->toExport();
|
||||
$this->assign('rs',$rs);
|
||||
}
|
||||
//获取查看页面
|
||||
public function ectPage(){
|
||||
$m=new M();
|
||||
$result=$m->ectTarget();
|
||||
$this->assign('result',$result);
|
||||
return $this->fetch('ectpage');
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user