|
@@ -20,8 +20,8 @@ class Auth |
|
|
protected $_user = null; |
|
|
protected $_user = null; |
|
|
protected $_token = ''; |
|
|
protected $_token = ''; |
|
|
//Token默认有效时长 |
|
|
//Token默认有效时长 |
|
|
// protected $keeptime = 2592000; |
|
|
|
|
|
protected $keeptime = 10; |
|
|
|
|
|
|
|
|
protected $keeptime = 2592000; |
|
|
|
|
|
//protected $keeptime = 10; |
|
|
protected $requestUri = ''; |
|
|
protected $requestUri = ''; |
|
|
protected $rules = []; |
|
|
protected $rules = []; |
|
|
//默认配置 |
|
|
//默认配置 |
|
|