用户绑定微信号
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace app\index\model;
|
||||
|
||||
use think\Model;
|
||||
|
||||
class LoginVerification extends Model
|
||||
{
|
||||
protected $autoWriteTimestamp = 'datetime';
|
||||
protected $createTime = 'created_at';
|
||||
protected $updateTime = 'updated_at';
|
||||
|
||||
public function getExpiredAtAttribute($value)
|
||||
{
|
||||
return strtotime($value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user