Uat_Study
{872297557@qq.com} 2023-01-06 13:55:26 +08:00
parent e516e009de
commit 0aba716ae0
2 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,8 @@ namespace IRaCIS.Core.API.Controllers.Special
/// <returns>新记录Id</returns>
[HttpPost, Route("trial/addOrUpdateTrial")]
[Authorize(Policy = IRaCISPolicy.PM_APM)]
[TypeFilter(typeof(TrialResourceFilter), Arguments = new object[] { "AfterStopCannNotOpt" })]
//[TypeFilter(typeof(TrialResourceFilter), Arguments = new object[] { "AfterStopCannNotOpt" })]
public async Task<IResponseOutput<Trial>> AddOrUpdateTrial(TrialCommand param)
{
var userId = Guid.Parse(User.FindFirst("id").Value);

View File

@ -153,6 +153,7 @@ namespace IRaCIS.Core.Application.Filter
}
else
{
//如果项目相关接口没有传递trialId 会来到这里,提醒,以便修改