Files
ProxyPanel/app/Http/Models/Config.php
Bretton 7fa56ada16 2.1 版本
1. 框架更新至5.8,并且其涉及代码进行修改;
2.  对支付的alipay组件针对php7.2/3进行修改;
3. 重构了节点信息获取逻辑;现在为实时请求;
4. 代码小细节和命名规范
2020-08-05 03:20:24 +08:00

31 lines
742 B
PHP

<?php
namespace App\Http\Models;
use Eloquent;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
/**
* 系统配置
* Class Config
*
* @package App\Http\Models
* @mixin Eloquent
* @property int $id
* @property string $name 配置名
* @property string|null $value 配置值
* @method static Builder|Config newModelQuery()
* @method static Builder|Config newQuery()
* @method static Builder|Config query()
* @method static Builder|Config whereId($value)
* @method static Builder|Config whereName($value)
* @method static Builder|Config whereValue($value)
*/
class Config extends Model
{
public $timestamps = FALSE;
protected $table = 'config';
protected $primaryKey = 'id';
}