Beispiel #1
0
        /// <summary>
        /// 获取Logo存储的相对路径
        /// </summary>
        /// <param name="associateId">associateId</param>
        public string GetLogoRelativePath(object associateId)
        {
            string idString = associateId.ToString().PadLeft(15, '0');

            return(StoreProvider.JoinDirectory(this.TenantLogoSettings.TenantLogoDirectory, idString.Substring(0, 5), idString.Substring(5, 5), idString.Substring(10, 5)));
        }