Files
addons
app_download_files
extend
hyhproject
admin
app
common
home
home2
mobile2
common
conf
controller
Alipays.php
Areas.php
Base.php
Brands.php
Carts.php
Cashconfigs.php
Cashdraws.php
Demo.php
Error.php
Favorites.php
Goods.php
Goodsappraises.php
Goodscats.php
Goodsconsult.php
Index.php
Invoices.php
Juhui.php
Logmoneys.php
Messages.php
News.php
Ordercomplains.php
Orderrefunds.php
Orders.php
Promotion.php
Shops.php
Switchs.php
Unionpays.php
Useraddress.php
Users.php
Userscores.php
Wallets.php
Weixinpays.php
model
validate
view
wechat2
.htaccess
command.php
mobile
oss
static
thinkphp
upload
vendor
wxtmp
.gitignore
.htaccess
.user.ini
404.html
H5436787D.wgt
admin.php
app-release.apk
app_download.html
cash.lock
demo.php
get_version.php
get_version_new.php
index.html
index.php
reg.lock
robots.txt
qlg.tsgz.moe/hyhproject/mobile2/controller/Cashdraws.php
2019-09-06 23:53:10 +08:00

35 lines
751 B
PHP
Executable File

<?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();
}
}