😎修改OA创建问题报告文件接口
This commit is contained in:
parent
8bf19a9745
commit
8f0e3801a7
@ -170,7 +170,6 @@ public class OaOpenInterfaceService : IDynamicApiController, ITransient
|
||||
[Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme + "," + SignatureAuthenticationDefaults.AuthenticationScheme)]
|
||||
[ApiDescriptionSettings(Name = "OaCreateProcess"), HttpPost]
|
||||
[DisplayName("OA创建流程")]
|
||||
[AllowAnonymous]
|
||||
public async Task<ManageResponse> OaCreateProcess(OaCreateProcessInput input)
|
||||
{
|
||||
var response = new ManageResponse();
|
||||
@ -377,14 +376,13 @@ public class OaOpenInterfaceService : IDynamicApiController, ITransient
|
||||
[Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme + "," + SignatureAuthenticationDefaults.AuthenticationScheme)]
|
||||
[ApiDescriptionSettings(Name = "OaAddRelatedFiles"), HttpPost]
|
||||
[DisplayName("OA创建问题报告文件")]
|
||||
[AllowAnonymous]
|
||||
public async Task<ManageResponse> OaAddRelatedFiles(OaAddRelatedFilesInput input)
|
||||
{
|
||||
var response = new ManageResponse();
|
||||
|
||||
if (input.object_id == 0||string.IsNullOrEmpty(input._System_objNBS)|| input.file_structure_id ==0 || string.IsNullOrEmpty(input.file_name))
|
||||
{
|
||||
response.Success = false;
|
||||
response.Success = true;
|
||||
response.Message = "必填项不能为空";
|
||||
return response;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user