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/api/model/sharp/Setting.php

23 lines
392 B
PHP
Raw Normal View History

2020-04-25 22:20:29 +08:00
<?php
namespace app\api\model\sharp;
use app\common\model\sharp\Setting as SettingModel;
/**
* 整点秒杀设置模型
* Class Setting
* @package app\api\model\sharp
*/
class Setting extends SettingModel
{
/**
* 获取是否开启分销
* @return array
*/
public static function getIsDealer()
{
return static::getItem('basic')['is_dealer'];
}
}