MxWeiXinPF.Web/weixin/cards/index.aspx.cs

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

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

namespace MxWeiXinPF.Web.weixin.cards
{
    public partial class index : WeiXinPage
    {
        protected string characters = "";
        protected string name = "";
        protected string createDate = "";
        protected string copyRight = "";
        protected int zfCount = 0;
        protected int id = 0;
        protected string url = "";
        protected string title = "";
        protected int dhId = 0;
        protected string myact = "";
        protected string imageback = "";
        protected string openid = "";
        protected int wid = 0;
        protected string music = "";
        protected string buttonCharacter = "";

        protected void Page_Load(object sender, EventArgs e)
        {
            if(! IsPostBack)
            {
                BLL.wx_cards gbll = new BLL.wx_cards();
                Model.wx_cards cards = new Model.wx_cards();

                BLL.wx_cards_gl countgbll = new BLL.wx_cards_gl();
                Model.wx_cards_gl cardscountg = new Model.wx_cards_gl();

                id = MyCommFun.RequestInt("aid");
                openid = MyCommFun.RequestOpenid();
                wid = MyCommFun.RequestInt("wid");
                this.hkid.Value = id.ToString();
                cards = gbll.GetModel(id);

                if(cards==null)
                {
                    MessageBox.ResponseScript(this, "链接参数有问题!");
                    return;
                }

                characters = cards.characters;
                //name = cards.name;
                createDate = cards.createDate.ToString();
                copyRight = cards.copyRight;
                zfCount = Convert.ToInt32(cards.zfCount);
                url = cards.backPic;
                title = cards.title;
                this.backimage.Value = cards.backPic;
                buttonCharacter = cards.buttonCharacter;

后面还有 38 行代码,购买后查看完整代码

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

AI 解读

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

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