coupon-admin/app/model/UsingRule.php

17 lines
264 B
PHP
Raw Normal View History

2021-12-02 18:34:44 +08:00
<?php
namespace app\model;
2022-01-19 13:40:46 +08:00
//商圈码使用规则
2021-12-02 18:34:44 +08:00
class UsingRule extends Base
{
public function setCycleAttr($value)
{
return implode(",",$value);
}
public function getCycleAttr($value)
{
return explode(",",$value);
}
}