Files
CompanyProject/moehu/moehu-backend/tool.http
2024-09-27 01:32:49 +08:00

41 lines
1.3 KiB
HTTP

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