public ApiResult Edit([FromBody] RequestVisitRecordDTO request) { string reason; var ret = recordService.Edit(request, SecurityHelper.LoginUser.ID, out reason); if (!ret) { return(new ApiResult() { Status = EnumApiStatus.BizError, Msg = reason }); } else { return(ret.ToApiResult()); } }