示例#1
0
        public GetHistoryRs CallGetHistory(GetHistoryRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.getHistoryUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <GetHistoryRs>());
        }
        public UIReturn getHistory(Member input)
        {
            GetHistoryRq req = MemberService.getInstance().getGetHistoryRq(input);
            GetHistoryRs res = MemberService.getInstance().CallGetHistory(req);

            UIReturn ret = new UIReturn(res.header);

            ret.returnObject = res.histories;
            return(ret);
        }
示例#3
0
        public GetHistoryRq getGetHistoryRq(Member input)
        {
            GetHistoryRq ret = JObject.Parse(JsonConvert.SerializeObject(input)).ToObject <GetHistoryRq>();

            return(ret);
        }