调整
This commit is contained in:
parent
92236b085a
commit
f04c2452c3
@ -6,9 +6,6 @@ use wstmart\app\model\Index as M;
|
||||
* 默认控制器
|
||||
*/
|
||||
class Index extends Base{
|
||||
protected $beforeActionList = [
|
||||
'checkAuth' => ['except'=>'startGiveVouchers,startRevokeVouchers']
|
||||
];
|
||||
public function tmp(){
|
||||
//$orderId = 80;
|
||||
// model('common/Settlements')->speedySettlement($orderId);
|
||||
|
@ -9,7 +9,7 @@ use wstmart\admin\model\CashDraws as CM;
|
||||
class Uservouchers extends Base{
|
||||
// 前置方法执行列表
|
||||
protected $beforeActionList = [
|
||||
'checkAuth' => ['except'=>'startgivevouchers,savedaymoney']// 访问这些except下的方法不需要执行前置操作
|
||||
'checkAuth' => ['except'=>'startgivevouchers,savedaymoney','startrevokevouchers']// 访问这些except下的方法不需要执行前置操作
|
||||
];
|
||||
/**
|
||||
* 保存每日券值
|
||||
@ -25,7 +25,10 @@ class Uservouchers extends Base{
|
||||
* @return [type] [description]
|
||||
*/
|
||||
public function startGiveVouchers(){
|
||||
Model('UserVouchers')->startGiveVouchers();
|
||||
return Model('UserVouchers')->startGiveVouchers();
|
||||
}
|
||||
public function startRevokeVouchers(){
|
||||
return Model('UserVouchers')->startRevokeVouchers();
|
||||
}
|
||||
//获取券值
|
||||
public function getVouchers(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user