24 lines
763 B
C#
24 lines
763 B
C#
using Dolphin.ExamPictureCut.Exams;
|
|
using Dolphin.ExamPictureCut.Extensions;
|
|
|
|
namespace Dolphin.ExamPictureCut.Services;
|
|
|
|
public class ExamAppService : DolphinAppService
|
|
{
|
|
private readonly IExamManager _examManager;
|
|
public ExamAppService(IExamManager examManager)
|
|
{
|
|
_examManager = examManager;
|
|
}
|
|
|
|
public async Task Test()
|
|
{
|
|
await _examManager.ExamStudentGather(new() { SchoolId = 3, StudentExamNum = "BP2-3G3-07K-C1", BookId = 529493484986437, ExamSubjectSchoolId = 530151338438726, ExamSubjectId = 530151329325125, LastCollectTime = DateTime.Now });
|
|
}
|
|
|
|
public async Task NotifyTest()
|
|
{
|
|
await NotifyExt.DingTalk($"{530151329325125} {"BP2-3G3-07K-C1"} 收集失败! 异常: {"通知测试"}");
|
|
}
|
|
}
|