升级 ,以及修复一些BUG

This commit is contained in:
2026-01-23 09:01:50 +08:00
parent f038ca3260
commit 3a5ace4817
20 changed files with 1218 additions and 25 deletions

View File

@@ -3856,8 +3856,6 @@ namespace WebSite.Controllers
}
}
private void ReallyUpgrade(string ID, string host_list_str, string fileName)
{
int roomTypeID = 0;
@@ -3937,6 +3935,23 @@ namespace WebSite.Controllers
}
}
[HttpPost()]
public ActionResult Upgrade_V2(string roomtype_id, string host_list_str, string fileName)
{
int roomTypeID = 0;
int.TryParse(roomtype_id, out roomTypeID);
logger.Error("微信端开始升级: " + fileName + " " + roomTypeID + " host_list: " + host_list_str);
var host_list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<int>>(host_list_str);
//不用获取,直接在本地使用
string lll = JsonConvert.SerializeObject(host_list);
HostUpdateController hh = new HostUpdateController();
logger.Error("开始升级: " + fileName + " host_list: " + lll);
//升级
return hh.(host_list, fileName,roomTypeID,HostManager);
}
#endregion