@@ -73,6 +73,8 @@ public class DeployConfigService(IMapper _mapper, IDistributedLockProvider _dist
|
||||
// 重新写入appsettings.json
|
||||
string result = obj.ToString();
|
||||
System.IO.File.WriteAllText(path, result);
|
||||
|
||||
await Task.Delay(1000);
|
||||
}
|
||||
|
||||
|
||||
@@ -139,6 +141,8 @@ public class DeployConfigService(IMapper _mapper, IDistributedLockProvider _dist
|
||||
string result = obj.ToString();
|
||||
System.IO.File.WriteAllText(path, result);
|
||||
|
||||
await Task.Delay(1000);
|
||||
|
||||
}
|
||||
|
||||
return ResponseOutput.Ok();
|
||||
|
||||
Reference in New Issue
Block a user