public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "username", UserName },
                { "password", TopUtils.EncryptAes(Password, AppSecret) },
                { "ip", Ip },
                { "description", Description },
                { "displayname", DisplayName },
                { "higheruserid", HigherUserId },
                { "jobid", JobId },
                { "idcard", IdCard },
                { "entrytime", EntryTime },
                { "jobnum", JobNum },
                { "othername", OtherName },
                { "phone", Phone },
                { "email", Email },
                { "plane", Plane },
                { "workplace", WorkPlace },
                { "organizationid", OrganizationId },
                { "isfemale", IsFemale },
                { "roleids", RoleIds }
            };

            return(parameters);
        }
Example #2
0
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "username", UserName },
                { "password", TopUtils.EncryptAes(Password, AppSecret) },
                { "ip", Ip },
                { "registertype", RegisterType },
                { "email", Email },
                { "mobile", Mobile },
                { "sitename", SiteName },
                { "systemlevel", SystemLevel },
                { "shopid", ShopId },
                { "companyid", CompanyId },
                { "idcard", IdCard },
                { "province", Province },
                { "city", City },
                { "area", Area },
                { "address", Address },
                { "realname", RealName },
                { "usertype", UserType },
                { "logintype", LoginType },
                { "clientinfo", ClientInfo },
                { "deviceid", DeviceId }
            };

            return(parameters);
        }
Example #3
0
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "password", Password.Length == 32 ? Password : TopUtils.EncryptAes(Password, AppSecret) },
            };

            return(parameters);
        }
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "id", Id },
                { "password", TopUtils.EncryptAes(Password, AppSecret) },
            };

            return(parameters);
        }
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "cardnumber", CardNumber },
                { "cardpassword", TopUtils.EncryptAes(CardPassword, AppSecret) }
            };

            return(parameters);
        }
Example #6
0
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "prepaidcardid", PrepaidCardId },
                { "cardpassword", TopUtils.EncryptAes(CardPassword, AppSecret) }
            };

            return(parameters);
        }
Example #7
0
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "username", this.UserName },
                { "password", TopUtils.EncryptAes(Password, AppSecret) },
                { "ip", this.Ip }
            };

            return(parameters);
        }
Example #8
0
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "cardnumber", CardNumber },
                { "boundnick", BoundNick },
                { "ipaddress", IpAddress },
                { "cardpassword", TopUtils.EncryptAes(CardPassword, AppSecret) },
                { "canstrictbind", CanStrictBind }
            };

            return(parameters);
        }
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "password", TopUtils.EncryptAes(Password, AppSecret) },
                { "code", Code },
                { "userflag", UserFlag },
                { "companyid", CompanyId },
                { "email", Email },
                { "phone", Phone }
            };

            return(parameters);
        }
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                {
                    "password",
                    string.IsNullOrWhiteSpace(Password)
                        ? ""
                        : (Password.Length == 32 ? Password : TopUtils.EncryptAes(Password, AppSecret))
                }
            };

            return(parameters);
        }
Example #11
0
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "prepaidcardtypeid", PrepaidCardTypeId },
                { "cardnumber", CardNumber },
                { "cardpassword", TopUtils.EncryptAes(CardPassword, AppSecret) },
                { "bindshopid", BindShopId },
                { "bindcompanyid", BindCompanyId },
                { "money", Money },
                { "expiredtime", ExpiredTime?.ToString() ?? "" }
            };

            return(parameters);
        }
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "ip", Ip },
                { "note", Note },
                { "username", UserName },
                { "email", Email },
                { "mobile", Mobile },
                { "password", TopUtils.EncryptAes(Password, AppSecret) },
                { "superiordistributor", SuperiorDistributor },
                { "shopid", ShopId }
            };

            return(parameters);
        }
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "email", Email },
                { "password", TopUtils.EncryptAes(Password, Secret) },
                { "ip", Ip },
                { "jobnumber", JobNumber },
                { "mobilephone", MobilePhone },
                { "sitename", SiteName },
                { "code", Code },
                { "anonymoususer", AnonymousUser }
            };

            return(parameters);
        }
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "name", Name },
                { "phone", Phone },
                { "address", Address },
                { "hours", Hours },
                { "coordinate", Coordinate },
                { "summary", HttpUtility.HtmlEncode(Summary) },
                { "bulletin", HttpUtility.HtmlEncode(Bulletin) },
                { "location", Location },
                { "areaid", AreaId },
                { "categoryid", CategoryId },
                { "description", HttpUtility.HtmlEncode(Description) },
                { "username", UserName },
                { "password", string.IsNullOrEmpty(Password) ? null : TopUtils.EncryptAes(Password, AppSecret) },
                { "email", Email },
                { "shopkeeperphone", ShopkeeperPhone },
                { "ip", Ip },
                { "companyid", CompanyId },
                { "deliverytime", DeliveryTime },
                { "homeurl", HomeUrl },
                { "isopen", IsOpen },
                { "isenabled", IsEnabled },
                { "isdisplay", IsDisplay },
                { "businesslicense", BusinessLicense },
                { "certifiedphotos", CertifiedPhotos },
                { "maincategoryid", MainCategoryId },
                { "banner", Banner },
                { "contacts", Contacts },
                { "shoptype", ShopType },
                { "parentid", ParentId },
                { "usertype", UserType },
                { "binduserid", BindUserId },
                { "allowinvoice", AllowInvoice },
                { "subtitle", SubTitle },
                { "province", Province },
                { "city", City },
                { "area", Area },
                { "town", Town },
                { "virtualcategory", VirtualCategory }
            };

            return(parameters);
        }
Example #15
0
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "name", Name },
                { "paydeduction", PayDeduction },
                { "username", UserName },
                { "password", string.IsNullOrEmpty(Password) ? null : TopUtils.EncryptAes(Password, AppSecret) },
                { "useremail", UserEmail },
                { "sserphone", UserPhone },
                { "ip", Ip },
                { "usertype", UserType },
                { "binduserid", BindUserId }
            };

            return(parameters);
        }
        public IDictionary <string, string> GetParameters()
        {
            if (BatchAddCardJson != null && BatchAddCardJson.Any())
            {
                for (var i = 0; i < BatchAddCardJson.Count; i++)
                {
                    BatchAddCardJson[i].card_password = TopUtils.EncryptAes(BatchAddCardJson[i].card_password, AppSecret);
                }
            }

            var parameters = new YunDictionary
            {
                { "prepaidcardtypeid", PrepaidCardTypeId },
                { "batchaddcardjson", BatchAddCardJson }
            };

            return(parameters);
        }
Example #17
0
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "username", this.UserName },

                {
                    "password",
                    string.IsNullOrWhiteSpace(Password)
                        ? ""
                        : (Password.Length == 32 ? Password : TopUtils.EncryptAes(Password, AppSecret))
                },
                { "ip", this.Ip },
                { "ignorepassword", IgnorePassword },
                { "logintype", LoginType },
                { "clientinfo", ClientInfo },
                { "deviceid", DeviceId }
            };

            return(parameters);
        }
Example #18
0
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "nickname", NickName },
                { "oauthid", OAuthId },
                { "email", Email },
                { "oauth2type", OAuth2Type },
                { "phone", Phone },
                { "avatar", Avatar },
                { "realname", RealName },
                { "usermeta", UserMeta },
                { "shopid", ShopId },
                { "logintype", LoginType },
                { "clientinfo", ClientInfo },
                { "deviceid", DeviceId },
                { "idcard", IdCard },
                { "password", TopUtils.EncryptAes(Password, AppSecret) },
            };

            return(parameters);
        }
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "ip", Ip },
                { "phone", Phone },
                { "code", Code },
                { "shopid", ShopId },
                { "userflag", UserFlag },
                { "companyid", CompanyId },
                { "password", TopUtils.EncryptAes(Password, Secret) },
                { "idcard", IdCard },
                { "province", Province },
                { "city", City },
                { "area", Area },
                { "address", Address },
                { "usertype", UserType },
                { "logintype", LoginType },
                { "clientinfo", ClientInfo },
                { "deviceid", DeviceId }
            };

            return(parameters);
        }
        public IDictionary <string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                { "password", (Password.Length == 32 || string.IsNullOrEmpty(Password)) ? Password : TopUtils.EncryptAes(Password, AppSecret) },
                { "enforced", Enforced }
            };

            return(parameters);
        }