WmptWap/ShowActivity.aspx.cs
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WMPT.Model;
using WMPT.SQLServerDAL;
using WMPT.Common;
namespace Html5
{
/// <summary>
/// 活动
/// </summary>
public partial class ShowActivity : System.Web.UI.Page
{
Points daltogo = new Points();
EFoodSort dalsort = new EFoodSort();
Foodinfo dalfood = new Foodinfo();
ETogoOpinion dal = new ETogoOpinion();
int id = 0;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
//判断是否 登录
ECustomerInfo model = UserHelp.GetUser();
if (model == null)
{
Response.Redirect("login.aspx?returnurl=" + Server.UrlEncode(Request.Url.ToString()));
}
getShopID();
if (id == 0)
{
return;
}
IList<FoodlistInfo> buyedfoods = new Foodlist().getUserByActivityFoods(model.DataID);
GetTogoInfo();
string pageurl = "ShowTogo.aspx?id=" + id;
togourl.HRef = "shopdetail.aspx?id=" + id;
IList<EFoodSortInfo> sortlist = dalsort.GetListByTogoNum(id);
try
{
int count = dal.GetCount("TogoID=" + id);
IList<ETogoOpinionInfo> infolist = dal.GetList(1000, 1, "TogoID=" + id, "PostTime", 1);
int ServiceGrade = 0;
int FlavorGrade = 0;
int SpeedGrade = 0;
int all = 0;
foreach (var item in infolist)
后面还有 190 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
