修改提示语言
parent
2d8d2f8f36
commit
408697bab3
|
@ -31,7 +31,7 @@ namespace IRaCIS.Core.Application.Filter
|
||||||
// 后期列举出具体的类型,其他任何用户类型,都不允许操作
|
// 后期列举出具体的类型,其他任何用户类型,都不允许操作
|
||||||
if( _userInfo.UserTypeEnumInt == (int)UserTypeEnum.CRA)
|
if( _userInfo.UserTypeEnumInt == (int)UserTypeEnum.CRA)
|
||||||
{
|
{
|
||||||
context.Result = new JsonResult(ResponseOutput.NotOk("Sorry,Your UserType does not allow this operation"));
|
context.Result = new JsonResult(ResponseOutput.NotOk("对不起,你的账户没有操作权限。"));
|
||||||
|
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
@ -104,7 +104,7 @@ namespace IRaCIS.Core.Application.Filter
|
||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
context.Result = new JsonResult(ResponseOutput.NotOk("Only trial in ongoing state can the operation be performed"));
|
context.Result = new JsonResult(ResponseOutput.NotOk("只有进行中的项允许该操作。"));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ namespace IRaCIS.Core.Application.Filter
|
||||||
{
|
{
|
||||||
//如果项目相关接口没有传递trialId 会来到这里,提醒,以便修改
|
//如果项目相关接口没有传递trialId 会来到这里,提醒,以便修改
|
||||||
|
|
||||||
context.Result = new JsonResult(ResponseOutput.NotOk("该接口参数中,没有传递trialId,请核查"));
|
context.Result = new JsonResult(ResponseOutput.NotOk("该接口参数中,没有传递项目编号,请核对。"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue