You've already forked qlg.tsgz.moe
addons
app_download_files
extend
hyhproject
admin
app
common
home
home2
behavior
common
conf
controller
Ads.php
Alipays.php
Areas.php
Base.php
Brands.php
Carts.php
Cashconfigs.php
Cashdraws.php
Error.php
Favorites.php
Goods.php
Goodsappraises.php
Goodscats.php
Goodsconsult.php
Goodsvirtuals.php
Helpcenter.php
Imports.php
Index.php
Informs.php
Invoices.php
Logmoneys.php
Messages.php
News.php
Ordercomplains.php
Orderrefunds.php
Orders.php
Reports.php
Settlements.php
Shopcats.php
Shopconfigs.php
Shopfreights.php
Shoproles.php
Shops.php
Shopusers.php
Switchs.php
Tmp.php
Unionpays.php
Useraddress.php
Users.php
Userscores.php
Wallets.php
Weixinpays.php
model
validate
view
mobile2
wechat2
.htaccess
command.php
mobile
oss
static
thinkphp
upload
vendor
wxtmp
.gitignore
.htaccess
.user.ini
404.html
H5B854518.wgt
admin.php
app-release.apk
app_download.html
cash.lock
demo.php
get_startup.php
get_version.php
get_version_new.php
hyhproject.tar.gz
index.html
index.php
reg.lock
robots.txt
30 lines
600 B
PHP
Executable File
30 lines
600 B
PHP
Executable File
<?php
|
|
namespace wstmart\home\controller;
|
|
use wstmart\common\model\OrderRefunds as M;
|
|
/**
|
|
* ============================================================================
|
|
* 订单退款控制器
|
|
*/
|
|
class Orderrefunds extends Base{
|
|
protected $beforeActionList = [
|
|
'checkAuth'=>['only'=>'refund'],
|
|
'checkShopAuth'=>['only'=>'shoprefund']
|
|
];
|
|
/**
|
|
* 用户申请退款
|
|
*/
|
|
public function refund(){
|
|
$m = new M();
|
|
$rs = $m->refund();
|
|
return $rs;
|
|
}
|
|
/**
|
|
* 商家处理是否同意
|
|
*/
|
|
public function shopRefund(){
|
|
$m = new M();
|
|
$rs = $m->shopRefund();
|
|
return $rs;
|
|
}
|
|
}
|