采购接口功能全部完成
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using WebUpdate.Entity;
|
||||
|
||||
namespace WebUpdate
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var fielInfoPath= Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "update.json");
|
||||
var updateInfo = new UpdateInfo();
|
||||
|
||||
|
||||
if (File.Exists(fielInfoPath))
|
||||
{
|
||||
var files= File.ReadAllText(fielInfoPath);
|
||||
updateInfo = files.ToObject<UpdateInfo>();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user