APP版本管理接口
### APP版本管理接口
- 请求接口地址
```http
http://ys2.yy.coldyun.net/api/ynl/weapp-version/{weapp_slug}/{weapp_type}?authkey=SCBIG001||B4DD405CB0E222FBC259FFDC910686DB
```
- 请求方式
> GET
- 请求参数
|参数名 | 数据类型 | 是否必须|说明|
| ---|---|---|---|
|weapp_slug| string| Y | APP版本标识【例:nong-android-zhengshi】|
|weapp_type| string| Y | APP版本标识类型【例:ios、android】 |
|authkey| string| Y | 验证 |
- authkey生成方式:SCBIG001+||+md5(SCBIG001||HY20220811||20230308
- 返回结果参考
```json
{
"id": 1,
"weapp_id": 2,
"title": "壹农链正式版第一版发布",
"slug": "v1.0.0",
"version": "v1.0.0",
"content": "<p>1、正式版8大模块上线</p>",
"url": "https://www.baidu.com/",
"date": "2023-03-30",
"note": null,
"status": 1,
"created_at": "2023-03-30 13:28:15",
"updated_at": "2023-03-30 13:28:15",
"deleted_at": null,
"weapp": {
"id": 2,
"name": "壹农链",
"slug": "nong-android-zhengshi",
"type_id": 2,
"edition": "正式版",
"app_id": null,
"secret": null,
"token": null,
"aes_key": null,
"other": null,
"extends": "[]",
"note": null,
"order": 0,
"status": 1,
"created_at": "2023-03-30 13:14:39",
"updated_at": "2023-03-30 15:07:38",
"deleted_at": null,
"type": {
"id": 2,
"name": "安卓",
"slug": "android",
"note": null,
"order": 0,
"status": 1,
"created_at": "2023-03-30 11:27:50",
"updated_at": "2023-03-30 11:27:50",
"deleted_at": null
}
}
}
```
### 返回结果参数
|返回值字段 |字段类型 |字段说明 备注|
|---|---|---|
|id|Number |ID|
|weapp_id|Number|APP版本id|
|title|String |标题|
|slug|String|标识|
|version|String |版本号|
|content|String |更新内容|
|url|String |下载链接|
|date|date|发布日期 格式:YYYY-MM-DD |
|note|String |备注|
|status|Number|状态|
|created_at|dateTime|创建时间 格式:YYYY-MM-DD HH:ii:ss|
|updated_at|dateTime|更新时间 格式:YYYY-MM-DD HH:ii:ss|
|weapp|json|APP版本信息|