hello repository

runphp e4008b8f9f feat(admin): 添加 hello.vue 管理页面 5 сар өмнө
database b2e9196ec5 feat(core): 添加 hello 扩展 7 сар өмнө
resource e4008b8f9f feat(admin): 添加 hello.vue 管理页面 5 сар өмнө
route 992b551b55 refactor: 更新命名空间和类名 7 сар өмнө
src 992b551b55 refactor: 更新命名空间和类名 7 сар өмнө
.gitignore 26bdf0f318 chore: 添加 .idea 目录到 .gitignore 文件 7 сар өмнө
README.md b2e9196ec5 feat(core): 添加 hello 扩展 7 сар өмнө
composer.json 30bb05626f build(sixshop-hello): 更新 six-shop/core 依赖版本 7 сар өмнө
config.php b2e9196ec5 feat(core): 添加 hello 扩展 7 сар өмнө
info.php b2e9196ec5 feat(core): 添加 hello 扩展 7 сар өмнө

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"
}