<?php /** * Created by PhpStorm. * User: 97 */ namespace app\tytw\controller; use think\captcha\facade\Captcha; class Verify{ public function index(){ return Captcha::create('adminverify'); } }