MxWeiXinPF.Web/admin/crm/user_tag.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MxWeiXinPF.Common;
namespace MxWeiXinPF.Web.admin.crm
{
public partial class user_tag : Web.UI.ManagePage
{
private int id = 0;
public string prov = "";
protected void Page_Load(object sender, EventArgs e)
{
this.id = MXRequest.GetQueryInt("id");
if (this.id == 0)
{
JscriptMsg("传输参数不正确!", "back", "Error");
return;
}
if (!Page.IsPostBack)
{
ChkAdminLevel("user_list", MXEnums.ActionEnum.View.ToString()); //检查权限
ShowInfo(this.id);
}
}
#region 赋值操作=================================
private void ShowInfo(int _id)
{
BLL.wx_crm_users uBll = new BLL.wx_crm_users();
Model.wx_crm_users user = uBll.GetModel(_id);
BLL.wx_crm_group gBll = new BLL.wx_crm_group();
Model.wx_crm_group group = gBll.GetModel(user.groupId.Value);
BLL.wx_crm_users_tag tBll = new BLL.wx_crm_users_tag();
Model.wx_userweixin weixin = GetWeiXinCode();
Model.wx_crm_users_tag tagEntity = tBll.GetModelByWidAndOpenid(weixin.id, user.openid);
lblnickname.Text = user.nickname;
imgPhoto.ImageUrl = user.headimgurl;
lblSex.Text = GetUserSex(int.Parse(user.sex));
lblArea.Text = user.country + " " + user.province + " " + user.city;
lblsubscribe_time.Text = MyCommFun.GetTime(user.subscribe_time).ToString();
prov = user.province;
if (group != null)
后面还有 106 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
