public AfterInfoResponse AfterInfo(AfterInfoRequest info) { var respone = new AfterInfoResponse() { ErrorCode = "00", IsSuccess = "0", Message = "成功" }; var result = curdData.AfterInfo(new DBModel.UserInfo() { Age = info.UserInfo.Age, Gender = info.UserInfo.Gender, Id = info.UserInfo.Id, Name = info.UserInfo.Name }); if (result > 0) { respone.IsSuccess = "1"; } else { respone.ErrorCode = "失败"; } return(respone); }
public AfterInfoResponse AfterInfo(AfterInfoRequest request) { return(CurdHandler.AfterInfo(request)); }