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.Configuration;
using System.Data;
......@@ -23,14 +24,14 @@ namespace WebAPI.Controllers
/// </summary>
/// <param name="Get_Flow_his"></param>
/// <returns></returns>
[Route("Get_Flow_his")]
//[EnableCors(origins: "http://120.78.73.107:8888,https://ipeasy.purplevineip.com,https://ipeasy.essenptl.com,http://localhost:8002",
//headers: "*", methods: "*", SupportsCredentials = true)]
[Route("GetFlowHis")]
[CorsHandle]
[HttpPost]
[HttpGet]
public MessageList_ETF Get_Flow_his(int Flowid)
public MessageList_ETF GetFlowHis(ParamModel param)
{
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;
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