2.1 版本

1. 框架更新至5.8,并且其涉及代码进行修改;
2.  对支付的alipay组件针对php7.2/3进行修改;
3. 重构了节点信息获取逻辑;现在为实时请求;
4. 代码小细节和命名规范
This commit is contained in:
Bretton
2020-01-30 06:54:50 +08:00
committed by 兔姬桑
parent 1891d9ff06
commit 7fa56ada16
149 changed files with 5677 additions and 5704 deletions

View File

@@ -4,6 +4,7 @@ namespace App\Http\Models;
use Auth;
use Eloquent;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
/**
@@ -12,12 +13,23 @@ use Illuminate\Database\Eloquent\Model;
*
* @package App\Http\Models
* @mixin Eloquent
* @property int $id
* @property int $user_id 用户ID
* @property int $label_id 标签ID
* @property-read User $user
* @method static Builder|UserLabel newModelQuery()
* @method static Builder|UserLabel newQuery()
* @method static Builder|UserLabel query()
* @method static Builder|UserLabel uid()
* @method static Builder|UserLabel whereId($value)
* @method static Builder|UserLabel whereLabelId($value)
* @method static Builder|UserLabel whereUserId($value)
*/
class UserLabel extends Model
{
public $timestamps = FALSE;
protected $table = 'user_label';
protected $primaryKey = 'id';
public $timestamps = FALSE;
function scopeUid($query)
{