function vcode() { $this->session->start(); $this->http->header('Content-Type', 'image/jpeg'); Swoole\Image::verifycode_gd(); }
function verify() { session(); $this->swoole->http->header('Content-Type', 'image/png'); Swoole\Image::verifycode_gd(); }