quanwei
2025-10-31 7a27a1d4d0038abe2115adb1753f897f56d66323
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
 
namespace app\api\model\settings;
 
use app\common\model\settings\Setting as SettingModel;
 
/**
 * 设置模型
 */
class Setting extends SettingModel
{
    /**
     * 获取积分名称
     */
    public static function getPointsName()
    {
        return static::getItem('points')['points_name'];
    }
 
    /**
     * 获取积分名称
     */
    public static function getBargain()
    {
        return static::getItem('bargain');
    }
}