Exemple #1
0
    public string GetTplDownloadUrl()
    {
        UserInfo userInfo = WebHelper.GetUserInfo();
        SystemBO _bal     = BLLFactory.GetBal <SystemBO>(WebHelper.GetUserInfo());
        IList <SysMidsvcConfig> svcList = _bal.GetMidsvcList();

        if (svcList.Count() > 0)
        {
            return(svcList[0].MidSvcUrl + "/DownloadPrintTpl.ashx");
        }

        return(ConstantsHelper.GetHelper(userInfo.SiteCode, userInfo.BUCode).GetSystemConfig("LABEL_TPL_DL_URL"));
    }