|
@@ -5471,6 +5471,35 @@ FROM
|
|
|
}
|
|
|
#endregion
|
|
|
|
|
|
+ [HttpGet]
|
|
|
+ public IActionResult WorldGamesData()
|
|
|
+ {
|
|
|
+ var setData = _sqlSugar.Queryable<Sys_SetData>()
|
|
|
+ .Where(x => x.IsDel == 0 && x.STid == 117)
|
|
|
+ .ToList();
|
|
|
+
|
|
|
+ var resultArr = new List<DecreasePaymentsWorldGamesDataView>();
|
|
|
+
|
|
|
+ foreach (var item in setData)
|
|
|
+ {
|
|
|
+ resultArr.Add(new DecreasePaymentsWorldGamesDataView
|
|
|
+ {
|
|
|
+ Data = new SetDataView
|
|
|
+ {
|
|
|
+ Id = item.Id,
|
|
|
+ Name = item.Name,
|
|
|
+ Remark = item.Remark,
|
|
|
+ STid = item.STid,
|
|
|
+ },
|
|
|
+ Child = JsonConvert.DeserializeObject<List<string>>(item.Remark)
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ return Ok(JsonView(true, "success", resultArr));
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
#endregion
|
|
|
|
|
|
#region 文件上传、删除
|