示例#1
0
        public List <UserAppSettingData> GetAppSettings(string loginName)
        {
            DataRequest <string> request = new DataRequest <string> {
                Data = loginName
            };
            DataResponse <List <UserAppSettingData> > response = RpcRoot.SignPost <DataResponse <List <UserAppSettingData> > >(RpcRoot.OfficialServerHost, RpcRoot.OfficialServerPort, _controllerName, nameof(IUserAppSettingController.AppSettings), request);

            if (response.IsSuccess())
            {
                return(response.Data);
            }
            return(new List <UserAppSettingData>());
        }