소스 검색

西昌缴费二期
ndbs 3 년 전
부모
커밋
2285f8a33c
1개의 변경된 파일11개의 추가작업 그리고 4개의 파일을 삭제
  1. +11
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Controllers/NewsController.cs

+ 11
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Controllers/NewsController.cs 파일 보기

@@ -1,6 +1,7 @@
using Learun.Application.OA;
using Learun.Application.TwoDevelopment.LR_Desktop;
using Learun.Util;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Configuration;
@@ -117,9 +118,7 @@ namespace Learun.Application.Web.Areas.LR_OAModule.Controllers

#endregion
#region 修改审核状态
JavaScriptSerializer Jss = new JavaScriptSerializer();
Dictionary<string, object> DicText = (Dictionary<string, object>)Jss.DeserializeObject(responses);
string Nid = DicText["id"].ToString();
string Nid = JsonConvert.DeserializeObject<Root>(responses).value.id;
AuditList AList = new AuditList();
if (Nid != null)
{
@@ -132,7 +131,6 @@ namespace Learun.Application.Web.Areas.LR_OAModule.Controllers
listCon.Add(con);
AList.contents = listCon;
//AList.reasons = "终审通过";
//Util.HttpMethods.HttpPosts("http://192.168.50.127:8007/api/v1/contents/actions/check", AList.ToJson(), ApiId);
Util.HttpMethods.HttpPosts("http://192.168.50.127:8007/api/v1/contents/check", AList.ToJson(), ApiId);
}
#endregion
@@ -158,4 +156,13 @@ namespace Learun.Application.Web.Areas.LR_OAModule.Controllers
#endregion

}
public class Root
{
public RootValue value { get; set; }
}

public class RootValue
{
public string id { get; set; }
}
}

불러오는 중...
취소
저장