mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
modified 引入基类模型
This commit is contained in:
parent
cae149338f
commit
e65383caf2
@ -7,9 +7,7 @@
|
||||
namespace app\admin\model;
|
||||
|
||||
|
||||
use think\Model;
|
||||
|
||||
class UserData extends Model {
|
||||
class UserData extends Base {
|
||||
|
||||
protected $insert = ['lastLoginTime', 'lastLoginIp'];
|
||||
protected $update = ['lastLoginIp', 'lastLoginTime'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user