12345678910111213141516171819202122232425262728293031 |
- <?php
- namespace app\common\service\promotion;
- use app\common\service\Service;
- class Order extends Service {
- protected static $array = [
- "0"=>"满额打折",
- "1"=>"满额优惠金额",
- "2"=>"满额送积分",
- "3"=>"满额免运费"
- ];
-
- public static function getActivityType($type=""){
- return isset(self::$array[$type]) ? self::$array[$type] : self::$array;
- }
- }
|