You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
34
hyhproject/mobile2/controller/Cashdraws.php
Executable file
34
hyhproject/mobile2/controller/Cashdraws.php
Executable file
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 提现记录控制器
|
||||
*/
|
||||
class Cashdraws extends Base{
|
||||
// 前置方法执行列表
|
||||
protected $beforeActionList = [
|
||||
'checkAuth',
|
||||
];
|
||||
/**
|
||||
* 查看用户提现记录
|
||||
*/
|
||||
public function index(){
|
||||
return $this->fetch('users/cashdraws/list');
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取用户数据
|
||||
*/
|
||||
public function pageQuery(){
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$data = model('CashDraws')->pageQuery(0,$userId);
|
||||
return WSTReturn("", 1,$data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 提现
|
||||
*/
|
||||
public function drawMoney(){
|
||||
return model('CashDraws')->drawMoney();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user