初始化
This commit is contained in:
28
addons/webman/model/ApiErrorLog.php
Normal file
28
addons/webman/model/ApiErrorLog.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace addons\webman\model;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* Class ApiErrorLog
|
||||
* @property int id 主键
|
||||
* @property int player_id 玩家id
|
||||
* @property int target
|
||||
* @property int target_id
|
||||
* @property string url 地址
|
||||
* @property string params 参数
|
||||
* @property string content 内容
|
||||
* @property string created_at 创建时间
|
||||
* @property string updated_at 最后一次修改时间
|
||||
*
|
||||
* @package addons\webman\model
|
||||
*/
|
||||
class ApiErrorLog extends Model
|
||||
{
|
||||
public function __construct(array $attributes = [])
|
||||
{
|
||||
parent::__construct($attributes);
|
||||
$this->setTable(plugin()->webman->config('database.api_error_log_table'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user