38 lines
811 B
PHP
Executable File
38 lines
811 B
PHP
Executable File
<?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');
|
|
|
|
}
|
|
}
|