后端API

zory 5826d71b8a 'remove_public' пре 10 часа
app 1989665a0f 'one' пре 10 часа
config 1989665a0f 'one' пре 10 часа
resource 1989665a0f 'one' пре 10 часа
support 1989665a0f 'one' пре 10 часа
.env-example 1989665a0f 'one' пре 10 часа
.gitignore 1989665a0f 'one' пре 10 часа
LICENSE 1989665a0f 'one' пре 10 часа
README.md 1989665a0f 'one' пре 10 часа
composer.json 1989665a0f 'one' пре 10 часа
start.php 1989665a0f 'one' пре 10 часа
webman 1989665a0f 'one' пре 10 часа
windows.bat 1989665a0f 'one' пре 10 часа
windows.php 1989665a0f 'one' пре 10 часа

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