| | |
| | | bool EditShareData(ShareData sd) |
| | | { |
| | | ResponsePack responePack = new HttpServerRequest().EditShareData(sd); |
| | | if (responePack.StateCode.ToUpper() == "SUCCESS") |
| | | if (responePack.StateCode.ToUpper() == HttpUtil.SUCCESS_CODE) |
| | | { |
| | | return true; |
| | | } |
| | |
| | | void LoadMethod_GetMemberSharedDataList(ResidenceMemberInfo info) |
| | | { |
| | | ResponsePack responePack = new HttpServerRequest().GetShareDataByMemberAccount(info.SubAccountDistributedMark); |
| | | if (responePack.StateCode.ToUpper() == "SUCCESS") |
| | | if (responePack.StateCode.ToUpper() == HttpUtil.SUCCESS_CODE) |
| | | { |
| | | var responeObj = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ShareData>>(responePack.ResponseData.ToString()); |
| | | info.CurResidenceShareDate = responeObj; |
| | |
| | | { |
| | | var result = false; |
| | | ResponsePack responePack = new HttpServerRequest().GetResidenceMemberAccount(); |
| | | if (responePack.StateCode.ToUpper() == "SUCCESS") |
| | | if (responePack.StateCode.ToUpper() == HttpUtil.SUCCESS_CODE) |
| | | { |
| | | memberList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<ResidenceMemberInfo>>(responePack.ResponseData.ToString()); |
| | | foreach (var mInfo in memberList) |