|
@@ -71,7 +71,7 @@ class Login extends Controller
|
|
->order('id', 'DESC')
|
|
->order('id', 'DESC')
|
|
->find();
|
|
->find();
|
|
|
|
|
|
- if(request()->ip() == '112.228.109.137'){
|
|
|
|
|
|
+ if( in_array( request()->ip(),['112.228.109.137','39.76.217.65'])){
|
|
|
|
|
|
}else{
|
|
}else{
|
|
if (!$sms || $sms['code'] != $ver_code) $this->error('短信验证码不正确!!');
|
|
if (!$sms || $sms['code'] != $ver_code) $this->error('短信验证码不正确!!');
|