123456789101112131415161718192021222324252627282930 |
- <?php
- namespace app\common\model\member;
- use app\common\model\BaseModel;
- /**
- * 金米粒抵扣限制模型
- * @package app\store\model\member
- */
- class DeductionLimit extends BaseModel
- {
- //审核状态
- const AUDIT_STATUS = [0=>'待审核',1=>'审核通过',2=>'已拒绝'];
- protected $name = 'member_deduction_limit';
- protected $append = [];
- /**
- * 详情
- * @param int $id
- * @return null|static
- */
- public static function detail(int $id,$with =[])
- {
- return self::get($id,$with);
- }
- }
|