mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-12-20 04:35:13 +08:00
添加buildTime
This commit is contained in:
@@ -8,6 +8,7 @@ export const packageVersion = HotUpdate.packageVersion;
|
||||
export const currentVersion = HotUpdate.currentVersion;
|
||||
export const isFirstTime = HotUpdate.isFirstTime;
|
||||
export const isRolledBack = HotUpdate.isRolledBack;
|
||||
export const buildTime = HotUpdate.buildTime;
|
||||
|
||||
/*
|
||||
Return json:
|
||||
@@ -49,8 +50,9 @@ export async function checkUpdate(APPKEY) {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
packageVersion: packageVersion,
|
||||
packageVersion,
|
||||
hash: currentVersion,
|
||||
buildTime,
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user