瀏覽代碼

西昌缴费二期
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; }
}
}

Loading…
取消
儲存