Commit 31435b4a authored by charleslee's avatar charleslee

change GetFlowHis function parameter

parent 1ab2f3b5
using System; using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Configuration; using System.Configuration;
using System.Data; using System.Data;
...@@ -23,14 +24,14 @@ namespace WebAPI.Controllers ...@@ -23,14 +24,14 @@ namespace WebAPI.Controllers
/// </summary> /// </summary>
/// <param name="Get_Flow_his"></param> /// <param name="Get_Flow_his"></param>
/// <returns></returns> /// <returns></returns>
[Route("Get_Flow_his")] [Route("GetFlowHis")]
//[EnableCors(origins: "http://120.78.73.107:8888,https://ipeasy.purplevineip.com,https://ipeasy.essenptl.com,http://localhost:8002",
//headers: "*", methods: "*", SupportsCredentials = true)]
[CorsHandle] [CorsHandle]
[HttpPost] [HttpPost]
[HttpGet] public MessageList_ETF GetFlowHis(ParamModel param)
public MessageList_ETF Get_Flow_his(int Flowid)
{ {
string input = param.Input.ToString();
JObject obj_input = JObject.Parse(input.ToString());
int Flowid = Int32.Parse(obj_input["Flowid"].ToString());
String connString = ConfigurationManager.ConnectionStrings["eflow_cur"].ConnectionString; String connString = ConfigurationManager.ConnectionStrings["eflow_cur"].ConnectionString;
List<Esn_Todos_Flow_his> Hislist = new List<Esn_Todos_Flow_his>(); List<Esn_Todos_Flow_his> Hislist = new List<Esn_Todos_Flow_his>();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment