This commit is contained in:
yyh931018@qq.com
2022-09-09 11:31:37 +08:00
parent bf863a26de
commit 1a30a474d5
2 changed files with 3 additions and 3 deletions

View File

@@ -18,10 +18,10 @@ class Index extends Api
*/ */
public function index() public function index()
{ {
$this->success('请求成功'); $this->success('请求成功1');
} }
function GetRandStr($length){ public function GetRandStr($length){
//字符组合 //字符组合
$str = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; $str = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
$len = strlen($str)-1; $len = strlen($str)-1;

View File

@@ -15,7 +15,7 @@ return [
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
// | 应用设置 // | 应用设置
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
// 应用命名空间 // 应用命名空间1
'app_namespace' => 'app', 'app_namespace' => 'app',
// 应用调试模式 // 应用调试模式
'app_debug' => Env::get('app.debug', true), 'app_debug' => Env::get('app.debug', true),