|
@@ -138,7 +138,7 @@ public class MainActivity extends AppCompatActivity {
|
|
//访问网页
|
|
//访问网页
|
|
String myUrl = "http://" + NetFunctionConfig.getServerIp() + ":" + NetFunctionConfig.getServerPort() + "/index?mac=" + MAC;
|
|
String myUrl = "http://" + NetFunctionConfig.getServerIp() + ":" + NetFunctionConfig.getServerPort() + "/index?mac=" + MAC;
|
|
if (NetFunctionConfig.getMode() == 2) {
|
|
if (NetFunctionConfig.getMode() == 2) {
|
|
- myUrl = "https://t.wdklchina.com/?partId=" + NetFunctionConfig.getPartId();
|
|
|
|
|
|
+ myUrl = "http://t.wdklchina.com/?partId=" + NetFunctionConfig.getPartId();
|
|
}
|
|
}
|
|
|
|
|
|
Toast.makeText(MainActivity.this, "fetch: " + myUrl, Toast.LENGTH_LONG).show();
|
|
Toast.makeText(MainActivity.this, "fetch: " + myUrl, Toast.LENGTH_LONG).show();
|