Commit 6a80b26e by amateur

1

1 parent eeaeab53
...@@ -47,6 +47,9 @@ public class UpdateUtils { ...@@ -47,6 +47,9 @@ public class UpdateUtils {
public static void checkH5Version(String h5Version) { public static void checkH5Version(String h5Version) {
if (BuildConfig.ONLINE) { // 线上版本不需要进行热更新
return;
}
ServerApi.postH5Version(h5Version, new RequestBack<UpdateVersion>() { ServerApi.postH5Version(h5Version, new RequestBack<UpdateVersion>() {
@Override @Override
protected void onResponse(StateEnum state, UpdateVersion data, String message) { protected void onResponse(StateEnum state, UpdateVersion data, String message) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!