|
@@ -1030,18 +1030,15 @@ namespace TEAMModelBI.Controllers.BISchool
|
|
|
if (!jsonElement.TryGetProperty("picture", out JsonElement picture)) return BadRequest();
|
|
|
if (!jsonElement.TryGetProperty("size", out JsonElement size)) return BadRequest();
|
|
|
if (!jsonElement.TryGetProperty("scale", out JsonElement scale)) return BadRequest();
|
|
|
- if (!jsonElement.TryGetProperty("assistId", out JsonElement _assistId)) return BadRequest();
|
|
|
+ jsonElement.TryGetProperty("assistId", out JsonElement _assistId); //对接V2.0 删除该信息
|
|
|
if (!jsonElement.TryGetProperty("type", out JsonElement _type)) return BadRequest();
|
|
|
jsonElement.TryGetProperty("province", out JsonElement province);
|
|
|
jsonElement.TryGetProperty("city", out JsonElement city);
|
|
|
jsonElement.TryGetProperty("dist", out JsonElement dist);
|
|
|
jsonElement.TryGetProperty("address", out JsonElement address);
|
|
|
|
|
|
-
|
|
|
jsonElement.TryGetProperty("assist", out JsonElement assist);
|
|
|
List<IdInfo> idInfos = assist.ToObject<List<IdInfo>>();
|
|
|
-
|
|
|
-
|
|
|
//jsonElement.TryGetProperty("site", out JsonElement site);//分开部署,就不需要,一站多用时,取消注释
|
|
|
|
|
|
var (_tmdId, _tmdName, pic, did, dname, dpic) = HttpJwtAnalysis.JwtXAuthBI(HttpContext.GetXAuth("AuthToken"), _option);
|