|
|
@@ -159,7 +159,6 @@ public class RobotInfoActivity extends BaseActivity {
|
|
|
public void onClick(View v){
|
|
|
Constant.server_ip = inputServer.getText().toString();
|
|
|
Constant.HTTP_URL = "http://"+Constant.server_ip+"/api";
|
|
|
- Constant.UPDATE_URL = "http://"+Constant.server_ip+"/app";
|
|
|
CacheService.getInstance(context).saveCache(CACHE_SYS_CONFIG,"server_ip", Constant.server_ip);
|
|
|
binding.tvIp.setText(Constant.server_ip);
|
|
|
ToastUtils.showToast(context, "设置成功");
|