22 lines
452 B
PHP
Executable File
22 lines
452 B
PHP
Executable File
<?php
|
|
namespace wstmart\admin\controller;
|
|
use wstmart\admin\model\Member as M;
|
|
|
|
class Member extends Base{
|
|
public function index(){
|
|
return $this->fetch('member');
|
|
}
|
|
//分页获取
|
|
public function memberByPage(){
|
|
$m=new M();
|
|
return WSTGrid($m->memberByPage());
|
|
}
|
|
/**
|
|
* 导出订单
|
|
*/
|
|
public function toExport(){
|
|
$m = new M();
|
|
$rs = $m->toExport();
|
|
$this->assign('rs',$rs);
|
|
}
|
|
}
|