mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-11 23:19:05 +00:00
1. 框架更新至5.8,并且其涉及代码进行修改; 2. 对支付的alipay组件针对php7.2/3进行修改; 3. 重构了节点信息获取逻辑;现在为实时请求; 4. 代码小细节和命名规范
30 lines
821 B
PHP
30 lines
821 B
PHP
<?php
|
||
|
||
namespace App\Http\Models;
|
||
|
||
use Eloquent;
|
||
use Illuminate\Database\Eloquent\Builder;
|
||
use Illuminate\Database\Eloquent\Model;
|
||
|
||
/**
|
||
* 敏感词
|
||
* Class SensitiveWords
|
||
*
|
||
* @package App\Http\Models
|
||
* @mixin Eloquent
|
||
* @property int $id
|
||
* @property int $type 类型:1-黑名单、2-白名单
|
||
* @property string $words 敏感词
|
||
* @method static Builder|SensitiveWords newModelQuery()
|
||
* @method static Builder|SensitiveWords newQuery()
|
||
* @method static Builder|SensitiveWords query()
|
||
* @method static Builder|SensitiveWords whereId($value)
|
||
* @method static Builder|SensitiveWords whereType($value)
|
||
* @method static Builder|SensitiveWords whereWords($value)
|
||
*/
|
||
class SensitiveWords extends Model
|
||
{
|
||
public $timestamps = FALSE;
|
||
protected $table = 'sensitive_words';
|
||
protected $primaryKey = 'id';
|
||
} |