发版测试
部署到开发环境 / 编译发布 (push) Successful in 3m17s
Details
部署到开发环境 / 编译发布 (push) Successful in 3m17s
Details
This commit is contained in:
parent
d269c6d1b4
commit
5a82cea4b4
|
|
@ -47,7 +47,7 @@ public class ExamManager : DomainService, IExamManager
|
|||
public async Task ExamStudentGather(ExamStudentGatherEto eto)
|
||||
{
|
||||
var penSerial = eto.StudentExamNum;
|
||||
Logger.LogInformation("{ExamSubjectId} {penSerial} 开始收集...", eto.ExamSubjectId, penSerial);
|
||||
Logger.LogInformation($"开始收集... 参数:{JsonConvert.SerializeObject(eto)}");
|
||||
var guid = GuidGenerator.Create().ToString("N");
|
||||
|
||||
var templates = await Db.Queryable<GroupBookPaperTemplate>().Where(w => w.BookId == eto.BookId)
|
||||
|
|
|
|||
|
|
@ -12,6 +12,6 @@ public class ExamAppService : DolphinAppService
|
|||
|
||||
public async Task Test()
|
||||
{
|
||||
await _examManager.ExamStudentGather(new() { SchoolId = 1, StudentExamNum = "BP2-3G3-07K-BZ", BookId = 528102717276229, ExamSubjectSchoolId = 528066671910982, ExamSubjectId = 528066655817797, LastCollectTime = DateTime.Now });
|
||||
await _examManager.ExamStudentGather(new() { SchoolId = 3, StudentExamNum = "BP2-3G3-07K-C1", BookId = 529493484986437, ExamSubjectSchoolId = 530151338438726, ExamSubjectId = 530151329325125, LastCollectTime = DateTime.Now });
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using Serilog;
|
||||
using Serilog;
|
||||
using Serilog.Events;
|
||||
|
||||
namespace Dolphin.ExamPictureCut;
|
||||
|
|
@ -28,6 +28,7 @@ public class Program
|
|||
try
|
||||
{
|
||||
Log.Information("Starting Dolphin.ExamPictureCut.HttpApi.Host.");
|
||||
Log.Information("Current Env:" + Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT"));
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
builder.Host.AddAppSettingsSecretsJson()
|
||||
.UseAutofac()
|
||||
|
|
|
|||
Loading…
Reference in New Issue