|
...
|
...
|
@@ -178,4 +178,13 @@ class LoginController extends BaseController |
|
|
|
$info = $logic->autologin($data);
|
|
|
|
$this->response('success',Code::SUCCESS,['info'=>$info]);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function ceshi(EncryptUtils $encrypt){
|
|
|
|
$serviceSettingModel = new Service();
|
|
|
|
$info = $serviceSettingModel->read(['type'=>4]);
|
|
|
|
$data = $encrypt->unlock_url($this->param['code'], $info['values']);
|
|
|
|
$data = json_decode($data, true);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($data, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$this->response($data);
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|