Skip to content

Commit 3f92056

Browse files
author
hongjingjun
committed
修改版本接口
1 parent 2e6a248 commit 3f92056

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ appVersion: "", //app当前版本
6262
rnVersion: "", //react native集成版本
6363
platform: "", //平台ios android
6464
resBody: {
65-
"LDBizName1": "1.2", //业务名称: 版本号
66-
"LDBizName2": "1.1",
67-
......
65+
"LDBizName1": "1.2.0", //业务名称: 版本号
66+
"LDBizName2": "1.1.0",
67+
...
6868
}
6969
}
7070

@@ -77,17 +77,18 @@ resBody: {
7777
rspBody: {
7878
patchs:[
7979
{
80+
"loadType": "ReactNative", //业务类型:ReactNative、HybridApp
8081
"zipPath": "https://xx.xx.com/patchzip/LDBizModuleName1.zip", //下载路径
81-
"version": "1.3", //业务版本号
82+
"version": "1.3.0", //业务版本号
8283
"moduleName": "LDBizName1", //jsBundle名称
8384
"zipHash": "xxxxxx", //zip文件md5值
8485
"jsbundleHash": "xxxxxx", //差异合并后js文件md5值
8586
"downloadNow": "3", //0:总是下载, 1:wifi下载,2: 4g和wifi下载
86-
"uploadNow": "true", //true:即刻更新,false:下次启动更新
87+
"loadNow": "true", //true:即刻更新,false:下次启动更新
8788
"needGoBack": "false", //是否需要回退版本
8889
},
8990
90-
......
91+
...
9192
]
9293
}
9394
}

0 commit comments

Comments
 (0)