coupon-admin/app/model/UsingRule.php

17 lines
264 B
PHP
Raw Normal View History

2021-12-02 10:34:44 +00:00
<?php
namespace app\model;
2022-03-31 06:42:56 +00:00
//签到券使用规则
2021-12-02 10:34:44 +00:00
class UsingRule extends Base
{
public function setCycleAttr($value)
{
return implode(",",$value);
}
public function getCycleAttr($value)
{
return explode(",",$value);
}
}