コード例 #1
0
        public string GetPreview(string templateTextStr, bool isPathPSSRequred, long hospitalId)
        {
            LoadSampleXml();
            var tagList       = m_TagService.GetAllTags(hospitalId);
            var pssLinkObject = m_PSSLinkDataService.GetPSSLinkByHospital(hospitalId).First();

            return(TextTemplateCreate.GetCompleteSmsText(xdoc, templateTextStr, tagList, pssLinkObject.Link, isPathPSSRequred));
        }
コード例 #2
0
        public ActionResult GetPSSLink()
        {
            var hospitalURL = m_PSSLinkService.GetPSSLinkByHospital(m_user.HospitalId);

            return(Ok(hospitalURL.First()));
        }