Commit 9d0c9097 by wjg

add release apk

parent 5c21a9a3
...@@ -21,6 +21,8 @@ public class AppConfig { ...@@ -21,6 +21,8 @@ public class AppConfig {
public static String WX_URL = ""; public static String WX_URL = "";
public static String WX_URL_PROD = "http://hooloo.gdatac.com/prod-co?id=%s"; public static String WX_URL_PROD = "http://hooloo.gdatac.com/prod-co?id=%s";
public static String WX_URL_TEST = "http://hooloo.gdatac.com/c2?id=%s"; public static String WX_URL_TEST = "http://hooloo.gdatac.com/c2?id=%s";
/** 工厂测试地址 */
public static final String FACTORY_TEST_URL = "http://192.168.8.101:8000/factory_test.html";
public static String HOST = ""; public static String HOST = "";
public static final String HOST_PROD = "https://api.ihaoin.com"; public static final String HOST_PROD = "https://api.ihaoin.com";
......
...@@ -12,6 +12,7 @@ import androidx.annotation.NonNull; ...@@ -12,6 +12,7 @@ import androidx.annotation.NonNull;
import com.ihaoin.hooloo.device.HLApplication; import com.ihaoin.hooloo.device.HLApplication;
import com.ihaoin.hooloo.device.R; import com.ihaoin.hooloo.device.R;
import com.ihaoin.hooloo.device.base.AppConfig;
import com.ihaoin.hooloo.device.util.StringUtils; import com.ihaoin.hooloo.device.util.StringUtils;
public class TestDialog extends Dialog { public class TestDialog extends Dialog {
...@@ -43,7 +44,7 @@ public class TestDialog extends Dialog { ...@@ -43,7 +44,7 @@ public class TestDialog extends Dialog {
return false; return false;
} }
}); });
webView.loadUrl("http://www.baidu.com"); webView.loadUrl(AppConfig.FACTORY_TEST_URL);
butnClose.setOnClickListener(x -> dismiss()); butnClose.setOnClickListener(x -> dismiss());
// Utils.setTouchDelegate(findViewById(R.id.layout_root), Arrays.asList(butnClose)); // Utils.setTouchDelegate(findViewById(R.id.layout_root), Arrays.asList(butnClose));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment