Fresns API
| 请求方式 | 接口路径 | 路由名 |
|---|---|---|
GET | /api/theme/actions/{path} | fresns.api.get |
POST | /api/theme/actions/{path} | fresns.api.post |
PUT | /api/theme/actions/{path} | fresns.api.put |
PATCH | /api/theme/actions/{path} | fresns.api.patch |
DELETE | /api/theme/actions/{path} | fresns.api.delete |
php
route('fresns.api.get', [
'path' => '',
])path值为 API 接口路径- 以下
GET请求接口不支持:/api/fresns/v1/common/ip-info/api/fresns/v1/group/{gid}/interaction/{type}/api/fresns/v1/user/*/api/fresns/v1/hashtag/*/api/fresns/v1/geotag/*/api/fresns/v1/post/*/api/fresns/v1/comment/*/api/fresns/v1/search/*