后端API

zory 92c33b7646 'updateReadme' 4 ore în urmă
app 1989665a0f 'one' 4 ore în urmă
config 1989665a0f 'one' 4 ore în urmă
resource bf65f1f3a3 'removeImg' 4 ore în urmă
support 1989665a0f 'one' 4 ore în urmă
.env-example 1989665a0f 'one' 4 ore în urmă
.gitignore 1989665a0f 'one' 4 ore în urmă
LICENSE 1989665a0f 'one' 4 ore în urmă
README.md 92c33b7646 'updateReadme' 4 ore în urmă
composer.json 1989665a0f 'one' 4 ore în urmă
start.php 1989665a0f 'one' 4 ore în urmă
webman 1989665a0f 'one' 4 ore în urmă
windows.bat 1989665a0f 'one' 4 ore în urmă
windows.php 1989665a0f 'one' 4 ore în urmă

README.md

剪辑小程序管理后端

跨域

文件
config/plugin/linfly/annotation/route.php
新增内容
use Webman\Route;
// 匹配所有options路由
Route::options('[{path:.+}]', function (){
    return response('',204);
});

安装

composer install

版本要求

php >= 8.1

运行

php windows.php start

报错解决


首次安装后运行报错,删除 /app/command/ShopwwiAuthCommand.php 文件

生成Model指令

php webman model:all

路由

文档: https://www.workerman.net/plugin/99