WebUI/UserPlugin/Online/QQService.ascx.cs

(完整代码) 1KB

using Common;
using BLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebUI.UserPlugin.Online
{
    public partial class QQService : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {

                siteconfig bll = new siteconfig();
                Model.siteconfig model = bll.loadConfig(Utils.GetXmlMapPath(EkKeys.FILE_SITE_XML_CONFING));

                Tel.InnerText = model.webtel;
            }

        }

        public string GetQQ()
        {
            siteconfig bll = new siteconfig();
            Model.siteconfig model = bll.loadConfig(Utils.GetXmlMapPath(EkKeys.FILE_SITE_XML_CONFING));
            string qq = model.webqq;
            string qhtml = "";
            if (qq.Contains("-"))
            {
                for (int i = 0; i < qq.Split('-').Length; i++)
                {
                    string aqq = qq.Split('-')[i];
                    qhtml += @"<li class='odd'><a  class='icoTc'  href='http://wpa.qq.com/msgrd?v=3&uin=" + aqq + "&site=qq&menu=yes' target='_blank'>客服A" + (i + 1) + "</a> </li>";
                }
                                                                     

            }
            return qhtml;

        }



    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。