mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-13 07:59:20 +00:00
2.1 版本
1. 框架更新至5.8,并且其涉及代码进行修改; 2. 对支付的alipay组件针对php7.2/3进行修改; 3. 重构了节点信息获取逻辑;现在为实时请求; 4. 代码小细节和命名规范
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace App\Http\Models;
|
||||
|
||||
use Eloquent;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
@@ -12,12 +13,21 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @package App\Http\Models
|
||||
* @property-read Label $labelInfo
|
||||
* @mixin Eloquent
|
||||
* @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';
|
||||
public $timestamps = FALSE;
|
||||
|
||||
function labelInfo()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user