first commit
This commit is contained in:
41
moehu/moehu-backend/tool.http
Normal file
41
moehu/moehu-backend/tool.http
Normal file
@@ -0,0 +1,41 @@
|
||||
### 【app端】 获取最新app版本
|
||||
POST http://127.0.0.1:8090/app/tool/Update
|
||||
#POST https://api.moehu.net/app/tool/Update
|
||||
Content-Type: application/json
|
||||
|
||||
{}
|
||||
|
||||
### 【app端使用】记录版本的下载次数
|
||||
POST http://127.0.0.1:8090/app/tool/addUpdateCount
|
||||
#POST https://api.moehu.net/app/tool/addUpdateCount
|
||||
Content-Type: application/json
|
||||
token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIxNSIsImV4cCI6MTY1NTEzNTM0OSwiaWF0IjoxNjIzNTk5MzQ5fQ.1taqVix_bTmLZw-iy_1NELTyuvYoZeZU3_owZIQRvqY
|
||||
|
||||
{
|
||||
"update_id": 2
|
||||
}
|
||||
|
||||
### 【管理后台】 发布新的app版本
|
||||
POST http://127.0.0.1:8090/admin/tool/addNewUpdate
|
||||
Content-Type: application/json
|
||||
token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIxNSIsImV4cCI6MTY1NTEzNTM0OSwiaWF0IjoxNjIzNTk5MzQ5fQ.1taqVix_bTmLZw-iy_1NELTyuvYoZeZU3_owZIQRvqY
|
||||
|
||||
{
|
||||
"update_version": "2.0.1",
|
||||
"update_version_code": "201",
|
||||
"update_down_url": "测试下载地址",
|
||||
"update_content": "调整了页面布局",
|
||||
"update_force": 1
|
||||
}
|
||||
|
||||
|
||||
### 【管理后台使用】获取所有App版本
|
||||
POST http://127.0.0.1:8090/admin/tool/UpdateList
|
||||
#POST https://api.moehu.net/admin/tool/UpdateList
|
||||
Content-Type: application/json
|
||||
token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIxNSIsImV4cCI6MTY1NTEzNTM0OSwiaWF0IjoxNjIzNTk5MzQ5fQ.1taqVix_bTmLZw-iy_1NELTyuvYoZeZU3_owZIQRvqY
|
||||
|
||||
{
|
||||
"page": 1,
|
||||
"count": 10
|
||||
}
|
||||
Reference in New Issue
Block a user