| 12345678910111213141516171819202122232425262728293031 |
- <?php
- /**
- *
- * @copyright ©2020 点小铺
- * @author hanj
- * @link: https://dyuit.com
- * Created by VSCode
- */
- namespace app\api\model;
- use app\common\model\Setting as SettingModel;
- /**
- * 系统设置模型
- * Class Setting
- * @package app\api\model
- */
- class Setting extends SettingModel
- {
- /**
- * 获取积分名称
- * @return string
- */
- public static function getPointsName()
- {
- return static::getItem('points')['points_name'];
- }
- }
|