pull/1/head
parent
ce3a6fa489
commit
1e922f3595
@ -0,0 +1,31 @@ |
||||
<?php |
||||
|
||||
namespace app\common\enum\coupon; |
||||
|
||||
use app\common\enum\EnumBasics; |
||||
|
||||
class TypeCase extends EnumBasics |
||||
{ |
||||
const SHOP = 10;//商品券 |
||||
|
||||
const SERVER = 20;//服务券 |
||||
|
||||
/** |
||||
* @notes:优惠券类别 |
||||
* @return array[] |
||||
* @author: wanghousheng |
||||
*/ |
||||
public static function data(): array |
||||
{ |
||||
return [ |
||||
self::SHOP => [ |
||||
'name' => '商品券', |
||||
'value' => self::SHOP |
||||
], |
||||
self::SERVER => [ |
||||
'name' => '服务券', |
||||
'value' => self::SERVER |
||||
] |
||||
]; |
||||
} |
||||
} |
Loading…
Reference in new issue