You've already forked qlg.tsgz.moe
							
							
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
| <?php
 | |
| namespace wstmart\admin\controller;
 | |
| use wstmart\admin\model\EctTarget as M;
 | |
| /**
 | |
|  * ============================================================================
 | |
|  * 提现控制器
 | |
|  */
 | |
| class Ecttarget 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 toHandle(){
 | |
|         $m=new M();
 | |
|         $result=$m->toHandle();
 | |
|         $this->assign('object',$result);
 | |
|         return $this->fetch('ecttarget');
 | |
|     }
 | |
|     //进行审核操作
 | |
|     public function ectTarget(){
 | |
|         $m=new M();
 | |
|         $result=$m->ectTarget();
 | |
|         exit(json_encode($result));
 | |
|     }
 | |
|     //获取查看页面
 | |
|     public function ectPage(){
 | |
|         $m=new M();
 | |
|         $result=$m->ectTarget();
 | |
|         $this->assign('result',$result);
 | |
|         return $this->fetch('ectpage');
 | |
| 
 | |
|     }
 | |
| }
 |