Esempio n. 1
0
        /// <summary>
        /// 获取价格符号
        /// </summary>
        /// <returns></returns>
        protected string GetPriceSymbol()
        {
            var originCode = EasyBuyXmlUtility.GetSiteArea(Site)[0];

            if (originCode == "CN")
            {
                return("¥");
            }
            if (originCode == "TW")
            {
                return("NT$");
            }
            else
            {
                return("$");
            }
        }
Esempio n. 2
0
 public virtual string GetOriginCodeByUrl(string productUrl)
 {
     return(EasyBuyXmlUtility.GetSiteArea(Site)[0]);
 }