hello repository

runphp 4612ada454 feat(core): 优化扩展启动逻辑并修复类型提示问题 hai 3 meses
database 45d32cf026 refactor(migrations): 统一数据库迁移文件格式 hai 3 meses
resource bf9f07660a feat(plugin): 支持插件 Vue 文件的多级目录结构- 修改前端插件管理页面,调整组件 URL 路径格式以支持子目录- 更新后端路由规则,允许通过 extension 和 file 参数定位具体 Vue 文件 hai 5 meses
route 992b551b55 refactor: 更新命名空间和类名 hai 7 meses
src 4612ada454 feat(core): 优化扩展启动逻辑并修复类型提示问题 hai 3 meses
.gitignore 26bdf0f318 chore: 添加 .idea 目录到 .gitignore 文件 hai 7 meses
README.md b2e9196ec5 feat(core): 添加 hello 扩展 hai 7 meses
composer.json dd3a7ad7c0 chore(deps): 升级多个包的PHP版本和核心依赖 hai 3 meses
config.php b2e9196ec5 feat(core): 添加 hello 扩展 hai 7 meses
info.php b2e9196ec5 feat(core): 添加 hello 扩展 hai 7 meses

README.md

Hello Extension

这是一个演示扩展,用于展示如何创建和使用Sixshop扩展。

功能说明

该扩展提供一个简单的API端点,返回欢迎信息。

安装

composer require six-shop/hello

API接口

获取欢迎信息

  • URL: https://sixshop.ddev.site/api/hello
  • 方法: GET
  • 描述: 返回简单的欢迎信息

响应示例

{
    "code": 0,
    "status": "ok",
    "msg": "success",
    "data": "hello world"
}