mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-13 16:03:04 +00:00
2.1 版本
1. 框架更新至5.8,并且其涉及代码进行修改; 2. 对支付的alipay组件针对php7.2/3进行修改; 3. 重构了节点信息获取逻辑;现在为实时请求; 4. 代码小细节和命名规范
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
namespace App\Http\Models;
|
||||
|
||||
use Eloquent;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Carbon;
|
||||
|
||||
/**
|
||||
* 用户流量变动记录
|
||||
@@ -11,6 +13,27 @@ use Illuminate\Database\Eloquent\Model;
|
||||
*
|
||||
* @package App\Http\Models
|
||||
* @mixin Eloquent
|
||||
* @property int $id
|
||||
* @property int $user_id 用户ID
|
||||
* @property int $order_id 发生的订单ID
|
||||
* @property int $before 操作前流量
|
||||
* @property int $after 操作后流量
|
||||
* @property string $desc 描述
|
||||
* @property Carbon $created_at
|
||||
* @property Carbon $updated_at
|
||||
* @property-read Order $order
|
||||
* @property-read User $user
|
||||
* @method static Builder|UserTrafficModifyLog newModelQuery()
|
||||
* @method static Builder|UserTrafficModifyLog newQuery()
|
||||
* @method static Builder|UserTrafficModifyLog query()
|
||||
* @method static Builder|UserTrafficModifyLog whereAfter($value)
|
||||
* @method static Builder|UserTrafficModifyLog whereBefore($value)
|
||||
* @method static Builder|UserTrafficModifyLog whereCreatedAt($value)
|
||||
* @method static Builder|UserTrafficModifyLog whereDesc($value)
|
||||
* @method static Builder|UserTrafficModifyLog whereId($value)
|
||||
* @method static Builder|UserTrafficModifyLog whereOrderId($value)
|
||||
* @method static Builder|UserTrafficModifyLog whereUpdatedAt($value)
|
||||
* @method static Builder|UserTrafficModifyLog whereUserId($value)
|
||||
*/
|
||||
class UserTrafficModifyLog extends Model
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user