chore: 初始化东安动力外部数据接口工程
This commit is contained in:
20
SlMesDbIterface/MessageHanlder/InterfaceUpLoad.cs
Normal file
20
SlMesDbIterface/MessageHanlder/InterfaceUpLoad.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Newtonsoft.Json;
|
||||
using PLMTEST;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ExternalDataSync
|
||||
{
|
||||
public class InterfaceUpLoad
|
||||
{
|
||||
public static msgResHeader RequestPost(string url, msg m_msg)
|
||||
{
|
||||
return JsonConvert.DeserializeObject<msgResHeader>(HttpCli.Post(url, JsonConvert.SerializeObject(m_msg)));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user