示例#1
0
        public async Task <ResponseViewModel <AppAnnunciateListView> > AcquireAppAnnunciate([FromBody] RequestViewModel obj)
        {
            AppAnnunciateListView result = new AppAnnunciateListView();

            obj = JsonHelper.DeserializeJsonToObject <RequestViewModel>(Content(User.Identity.Name).Content);
            ResponseViewModel <AppAnnunciateListView> response = null;

            result.Notice = await _routine.GetAppAnnunciateListAsync(obj.Client.Version);

            response = new ResponseViewModel <AppAnnunciateListView>(SysCode.Ok, result, obj.Encrypt, _sys, obj.Secret);
            return(response);
        }