98
2
xiuno多端小程序和APP
介绍
xiuno生成多端小程序和APP。 基于xiuno4.0版本二开API,使用UNIAPP框架重构
后端插件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: 版块ID
subject: 帖子标题
message: 帖子内容
uid: 用户ID
Response:
{
"status": "success",
"tid": 1
}
10. 创建回复
URL: http://yourdomain.com/?api_create_reply
Method: POST
Parameters:
tid: 帖子ID
message: 回复内容
uid: 用户ID
Response:
{
"status": "success",
"pid": 1
}
常见问题
有没有教程?
暂时没有,需要自行研究安装,不难,有点基础基本都可以上手
有任何问题和需求请留言,有时间看到会回复
隐私、权限声明
1. 本插件需要申请的系统权限列表:
无
2. 本插件采集的数据、发送的服务器地址、以及数据用途说明:
无
3. 本插件是否包含广告,如包含需详细说明广告表达方式、展示频率:
无
许可协议
MIT协议
这家伙太懒了,什么也没留下。