|
...
|
...
|
@@ -21,7 +21,7 @@ class Visit extends Base |
|
|
|
//连接数据库
|
|
|
|
protected $connection = 'custom_mysql';
|
|
|
|
protected $appends = ['device_text'];
|
|
|
|
protected $fillable = ['id','ip','device_port','country','city','url','referrer_url','depth','domain','is_inquiry','original_id','updated_date', 'created_at'];
|
|
|
|
protected $fillable = ['id','ip','device_port','country','city','url','referrer_url','depth','domain','is_inquiry','original_id','updated_date', 'created_at', 'user_agent'];
|
|
|
|
|
|
|
|
const DEVICE_PC = 1;
|
|
|
|
const DEVICE_MOBILE = 2;
|
...
|
...
|
|