chore: 重写初始提交(清空历史,整理后全量提交)
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | YwxApp [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2026-2036 http://ywxapp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: ywxapp<admin@ywxapp.cn>
|
||||
// +----------------------------------------------------------------------
|
||||
// controller/api/v1/Example.php
|
||||
namespace app\api\controller\v2;
|
||||
|
||||
use think\Response;
|
||||
|
||||
/**
|
||||
* Example 类
|
||||
*
|
||||
* @author ywxapp <admin@ywxapp.cn>
|
||||
*/
|
||||
class Example
|
||||
{
|
||||
|
||||
public function index(): Response
|
||||
{
|
||||
return json(['message' => 'This is version 2 of the API']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user