feat: 项目基础框架+配置+Kernel
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
namespace app\captcha\controller;
|
||||
use think\Session;
|
||||
use \think\Request;
|
||||
class Captcha
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
$captcha = new \think\captcha\Captcha();
|
||||
$img=$captcha->entry();
|
||||
return $img;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user