1. 问题描述
2. 原因分析
static string updateVistToGroupPlatUrl = AppConfigurtaion.GetSecondSection("SensetimeApi", "updateVistToGroupPlatUrl");
3.
updateVistToGroupPlatUrl = updateVistToGroupPlatUrl.Replace("{userId}", userId);
//将userId向默认组加人
Dictionary<string, object> groupData = new Dictionary<string, object>();
groupData.Add("groupIds", groupIds);
httpMgr.PutData(header, Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(groupData)), url, "application/json", "utf-8", "application/json");
string url = updateVistToGroupPlatUrl.Replace("{userId}", userId);
//将userId向默认组加人
Dictionary<string, object> groupData = new Dictionary<string, object>();
groupData.Add("groupIds", groupIds);
httpMgr.PutData(header, Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(groupData)), url, "application/json", "utf-8", "application/json");
网友评论