Commit 40b11866 by amateur

1

1 parent 71599df1
...@@ -46,19 +46,19 @@ public class ModuleUrlHandle { ...@@ -46,19 +46,19 @@ public class ModuleUrlHandle {
} }
private String getInputUrl(ModulesEnum module) { private String getInputUrl(ModulesEnum module) {
// Intent intent = activity.getIntent(); Intent intent = activity.getIntent();
// if (module == ModulesEnum.HOME || module == ModulesEnum.MEMBER || module == ModulesEnum.MY) { if (module == ModulesEnum.HOME || module == ModulesEnum.MEMBER || module == ModulesEnum.MY) {
//// String urlStr = intent.getStringExtra(ModulesEnum.HOME.name); // String urlStr = intent.getStringExtra(ModulesEnum.HOME.name);
//// if (TextUtils.isEmpty(urlStr)) { // if (TextUtils.isEmpty(urlStr)) {
//// return null; // return null;
//// } // }
//// Uri uri = Uri.parse(urlStr); // Uri uri = Uri.parse(urlStr);
//// return uri.getScheme() +":"+ uri.getSchemeSpecificPart() + module.webUrl; // return uri.getScheme() +":"+ uri.getSchemeSpecificPart() + module.webUrl;
//// return "http://10.10.81.189/h5/?"+System.currentTimeMillis() + module.webUrl; return "http://10.10.81.189/h5/?"+System.currentTimeMillis() + module.webUrl;
//// return "http://192.168.137.1:8080/"+System.currentTimeMillis() + module.webUrl; // return "http://192.168.137.1:8080/"+System.currentTimeMillis() + module.webUrl;
// } }
// return intent.getStringExtra(module.name); return intent.getStringExtra(module.name);
return ""; // return "";
} }
public interface IModuleHandle { public interface IModuleHandle {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!