fix: 更新错误消息格式和数据库连接配置
修改错误消息格式以包含更详细的错误信息 更新生产环境和代码生成环境的数据库连接配置
This commit is contained in:
@@ -201,7 +201,7 @@ namespace ZR.Admin.WebApi.Controllers.mes.pro
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return ToResponse(ResultCode.GLOBAL_ERROR, "内容错误,请仔细检测格式,并联系管理员" + ex.Message);
|
||||
return ToResponse(ResultCode.GLOBAL_ERROR, "内容错误,请仔细检测格式,并联系管理员,错误内容:" + ex.Message);
|
||||
}
|
||||
}
|
||||
return SUCCESS(null);
|
||||
|
||||
Reference in New Issue
Block a user