first commit

This commit is contained in:
molong committed 2023-02-22 22:32:00 +08:00
commit 41617fe0cf
351 files changed
+51358

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
<?php
// +----------------------------------------------------------------------
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
// +----------------------------------------------------------------------
namespace App\Models\Auth;
use Illuminate\Database\Eloquent\Model;
class UsersLog extends Model{
protected $table = 'users_log';
public function user(){
return $this->hasOne(Users::class, 'uid', 'uid');
}
}