|
@@ -19,8 +19,9 @@ class loginClassModel extends Model
|
|
$uid = 0;
|
|
$uid = 0;
|
|
$cfrom = $this->rock->request('cfrom', $cfrom);
|
|
$cfrom = $this->rock->request('cfrom', $cfrom);
|
|
$token = $this->rock->request('token');
|
|
$token = $this->rock->request('token');
|
|
- $device= $this->rock->xssrepstr($this->rock->request('device', $devices));
|
|
|
|
- if(isempt($device))return 'device为空无法登录,清空浏览器缓存后刷新在试';
|
|
|
|
|
|
+// $device= $this->rock->xssrepstr($this->rock->request('device', $devices));
|
|
|
|
+ $device = time();
|
|
|
|
+// if(isempt($device))return 'device为空无法登录,清空浏览器缓存后刷新在试';
|
|
$ip = $this->rock->xssrepstr($this->rock->request('ip', $this->rock->ip));
|
|
$ip = $this->rock->xssrepstr($this->rock->request('ip', $this->rock->ip));
|
|
$web = $this->rock->xssrepstr($this->rock->request('web', $this->rock->web));
|
|
$web = $this->rock->xssrepstr($this->rock->request('web', $this->rock->web));
|
|
$yanzm = $this->rock->request('yanzm');//验证码
|
|
$yanzm = $this->rock->request('yanzm');//验证码
|