字典表中配置app版本号 ‘APP_VERSION_NUM’
```java
//每十分钟更新一次版本号
@Scheduled(fixedDelay = 1000 * 60 * 10)
public void getAppStoreVersion() {
String appStoreVersion = "http://itunes.apple.com/lookup?id=1459730132";
try {
String resultJsonString = HttpRequestUtil.sendGet(appStoreVersion);
JSONObject jsonObject = JSONObject.fromObject(resultJsonString);
String version = "";
if (jsonObject.containsKey("resultCount") && jsonObject.getInt("resultCount") >= 1) {
JSONArray jsonArray = jsonObject.getJSONArray("results");
for (int i = 0; i < jsonArray.size(); i++) {
JSONObject object = jsonArray.getJSONObject(i);
version = object.containsKey("version") ? object.getString("version") : "";
}
}
if (EmptyUtils.isNotEmpty(version)) {
//获取之前的苹果版本号
//获取正在用的版本号
TDictionary dictionary3 = dictionarySer