This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop/source/application/common/model/recharge/Plan.php
2020-04-25 22:20:29 +08:00

27 lines
467 B
PHP

<?php
namespace app\common\model\recharge;
use app\common\model\BaseModel;
/**
* 用户充值订单模型
* Class Plan
* @package app\common\model\recharge
*/
class Plan extends BaseModel
{
protected $name = 'recharge_plan';
/**
* 充值套餐详情
* @param $plan_id
* @return null|static
* @throws \think\exception\DbException
*/
public static function detail($plan_id)
{
return self::get($plan_id);
}
}