注册验证
parent
53528fc45a
commit
1e44e3cc61
|
@ -9,6 +9,8 @@ using IRaCIS.Core.Application.MediatR.Handlers;
|
|||
using System.Threading.Tasks;
|
||||
using MassTransit;
|
||||
using MassTransit.NewIdProviders;
|
||||
using System.IO;
|
||||
|
||||
|
||||
namespace IRaCIS.Core.API
|
||||
{
|
||||
|
@ -17,6 +19,16 @@ namespace IRaCIS.Core.API
|
|||
public readonly string environment;
|
||||
public static async Task Main(string[] args)
|
||||
{
|
||||
|
||||
if(!File.Exists($@"C:\.xingcang\config.json "))
|
||||
{
|
||||
Console.WriteLine("µ±Ç°Î´×¢²á");
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
//以配置文件为准,否则 从url中取环境值(服务以命令行传递参数启动,配置文件配置了就不需要传递环境参数)
|
||||
|
|
Loading…
Reference in New Issue