mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-06 20:50:01 +00:00
0. 更新项目依赖包; 1. 适配Payment依赖包5.0的代码修改; 2. 独立化节点阻断检测功能; 现在运行管理在节点页面,单独测试节点; 3. 节点阻断检测通知功能不再是一个报告一个报告发,改为一次检测只在有阻断出现情况下,统一发送结果; 4. 修改激活逻辑; 5. 修复重复优惠券SN码无报错的问题;现在优惠码为唯一码,不允许重复码出现; 6. 添加用户获取节点信息时按钮的动画加载效果; 7. 修复管理系统页面部分选项输入任何值都会报错的问题; 8. 代码命名与书写规范化;
36 lines
913 B
PHP
36 lines
913 B
PHP
<?php
|
|
|
|
namespace App\Http\Models;
|
|
|
|
use Eloquent;
|
|
use Illuminate\Database\Eloquent\Builder;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* 节点标签
|
|
* Class SsNodeLabel
|
|
*
|
|
* @package App\Http\Models
|
|
* @mixin Eloquent
|
|
* @property-read Label $labelInfo
|
|
* @property int $id
|
|
* @property int $node_id 用户ID
|
|
* @property int $label_id 标签ID
|
|
* @method static Builder|SsNodeLabel newModelQuery()
|
|
* @method static Builder|SsNodeLabel newQuery()
|
|
* @method static Builder|SsNodeLabel query()
|
|
* @method static Builder|SsNodeLabel whereId($value)
|
|
* @method static Builder|SsNodeLabel whereLabelId($value)
|
|
* @method static Builder|SsNodeLabel whereNodeId($value)
|
|
*/
|
|
class SsNodeLabel extends Model
|
|
{
|
|
public $timestamps = FALSE;
|
|
protected $table = 'ss_node_label';
|
|
protected $primaryKey = 'id';
|
|
|
|
function labelInfo()
|
|
{
|
|
return $this->hasOne(Label::class, 'id', 'label_id');
|
|
}
|
|
} |