Commit 3dc9a721 by amateur

1

1 parent ba19c009
......@@ -20,7 +20,8 @@ public class UpdateUtils {
ServerApi.postAppVersion(new RequestBack<UpdateVersion>() {
@Override
protected void onResponse(StateEnum state, UpdateVersion data, String message) {
if (state != StateEnum.OK || null == data) {
// 非强制更新是,需要同时进行h5版本更新
if (state != StateEnum.OK || null == data || !"0".equals(data.getIsForce())) {
if (!TextUtils.isEmpty(h5Version)) {
checkH5Version(h5Version);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!