更新记录
1.0.1(2024-11-07) 下载此版本
第一个版本
平台兼容性
uni-app
| Vue2 | Vue3 | Chrome | Safari | app-vue | app-nvue | Android | iOS | 鸿蒙 |
|---|---|---|---|---|---|---|---|---|
| √ | - | - | √ | √ | - | - | - | - |
| 微信小程序 | 支付宝小程序 | 抖音小程序 | 百度小程序 | 快手小程序 | 京东小程序 | 鸿蒙元服务 | QQ小程序 | 飞书小程序 | 快应用-华为 | 快应用-联盟 |
|---|---|---|---|---|---|---|---|---|---|---|
| √ | - | - | - | - | - | - | - | - | - | - |
xiuno多端小程序和APP
介绍
xiuno生成多端小程序和APP。 基于xiuno4.0版本二开API,使用UNIAPP框架重构 后端插件:https://www.xiunobbs.cn/thread-6242.htm
后端插件api文档
1. 获取站点信息
- URL:
http://yourdomain.com/?api_site_info - Method: GET
- Response:
{ "name": "Site Name", "description": "Site Description", "version": "4.0" }
2. 获取版块列表
- URL:
http://yourdomain.com/?api_forum_list - Method: GET
- Response:
[ { "fid": 1, "name": "Forum Name", ... }, ... ]
3. 获取帖子列表
- URL:
http://yourdomain.com/?api_thread_list&fid={forum_id} - Method: GET
- Response:
[ { "tid": 1, "subject": "Thread Subject", ... }, ... ]
4. 获取帖子详情
- URL:
http://yourdomain.com/?api_thread_detail&tid={thread_id} - Method: GET
- Response:
{ "tid": 1, "subject": "Thread Subject", ... }
5. 获取用户列表
- URL:
http://yourdomain.com/?api_user_list - Method: GET
- Response:
[ { "uid": 1, "username": "Username", ... }, ... ]
6. 获取用户信息
- URL:
http://yourdomain.com/?api_user_info&uid={user_id} - Method: GET
- Response:
{ "uid": 1, "username": "Username", ... }
7. 用户登录
- URL:
http://yourdomain.com/?api_login - Method: POST
- Parameters:
username: 用户名password: 密码
- Response:
{ "status": "success", "user": { "uid": 1, "username": "Username", ... } }
8. 用户注册
- URL:
http://yourdomain.com/?api_register - Method: POST
- Parameters:
username: 用户名password: 密码email: 邮箱
- Response:
{ "uid": 1, "username": "Username", ... }
9. 创建帖子
- URL:
http://yourdomain.com/?api_create_post - Method: POST
- Parameters:
fid: 版块IDsubject: 帖子标题message: 帖子内容uid: 用户ID
- Response:
{ "status": "success", "tid": 1 }
10. 创建回复
- URL:
http://yourdomain.com/?api_create_reply - Method: POST
- Parameters:
tid: 帖子IDmessage: 回复内容uid: 用户ID
- Response:
{ "status": "success", "pid": 1 }
常见问题
- 有没有教程?
暂时没有,需要自行研究安装,不难,有点基础基本都可以上手
有任何问题和需求请留言,有时间看到会回复

收藏人数:
下载插件并导入HBuilderX
下载插件ZIP
赞赏(1)
下载 6269
赞赏 23
下载 11023903
赞赏 1800
赞赏
京公网安备:11010802035340号