/// <summary> /// 检查用户信息 /// </summary> /// <param name="context"></param> /// <returns></returns> private string CheckUserInfo(HttpContext context) { WebsiteInfo webSite = bllWebsite.GetWebsiteInfo(bllUser.WebsiteOwner); //判断是否在站点配置需要推荐码 if (webSite.IsNeedDistributionRecommendCode == 1) { //需要推荐码 if (string.IsNullOrEmpty(currentUserInfo.DistributionOwner)) { resp.Status = -1; resp.Msg = "请输入推荐码"; return(Common.JSONHelper.ObjectToJson(resp)); } if (string.IsNullOrEmpty(currentUserInfo.TrueName) || string.IsNullOrEmpty(currentUserInfo.Phone)) { resp.Status = -1; resp.Msg = "请填写完整的信息"; return(Common.JSONHelper.ObjectToJson(resp)); } if (bllUser.IsDistributionMember(currentUserInfo)) { resp.Status = 0; } else { resp.Status = -2; } } else { if (string.IsNullOrEmpty(currentUserInfo.TrueName) || string.IsNullOrEmpty(currentUserInfo.Phone)) { resp.Status = -1; resp.Msg = "请填写完整的信息"; return(Common.JSONHelper.ObjectToJson(resp)); } } ////线下分销会员 财富会员进入微转发免注册 //if (!string.IsNullOrWhiteSpace(currentUserInfo.DistributionOffLinePreUserId)) //{ // resp.Status = 0; //} //if (!string.IsNullOrEmpty(currentUserInfo.DistributionOwner))//虽然有上级,但是不符合分销会员标准 //{ // resp.ExStr = "have_pre_user"; //} return(Common.JSONHelper.ObjectToJson(resp)); }
protected void Page_Load(object sender, EventArgs e) { WebsiteInfo model = bllWeisite.GetWebsiteInfo(); if (model != null && !string.IsNullOrEmpty(model.WeiXinBindDomain)) { strDomain = model.WeiXinBindDomain; } if (!string.IsNullOrEmpty(Request["moduleName"])) { moduleName = Request["moduleName"]; } if (!string.IsNullOrEmpty(Request["lotteryType"])) { lotteryType = Request["lotteryType"]; } isHideImg = Convert.ToInt32(Request["isHideImg"]); isHidePV = Convert.ToInt32(Request["isHidePV"]); isHideUV = Convert.ToInt32(Request["isHideUV"]); isHideDefaultLottery = Convert.ToInt32(Request["isHideDefaultLottery"]); isHidePersionCount = Convert.ToInt32(Request["isHidePersionCount"]); isHideWinning = Convert.ToInt32(Request["isHideWinning"]); isHideRecordsRealTime = Convert.ToInt32(Request["isHideRecordsRealTime"]); isHideResetLottery = Convert.ToInt32(Request["isHideResetLottery"]); isHideUrl = Convert.ToInt32(Request["isHideUrl"]); }
protected void Page_Load(object sender, EventArgs e) { //WebsiteOwner = DataLoadTool.GetWebsiteInfoModel().WebsiteOwner; //foreach (var item in juActivityBll.GetList<ArticleCategory>(string.Format("WebsiteOwner='{0}' And CategoryType='activity'", WebsiteOwner))) //{ // sbCategory.AppendFormat("<option value=\"{0}\">{1}</option>", item.AutoID, item.CategoryName); //} //DoMain = Request.Url.Host; //if (!bllUser.GetUserInfo(bllUser.WebsiteOwner).WeixinIsAdvancedAuthenticate.Equals(1)) //{ // DoMain = "xixinxian.comeoncloud.net"; //} WebsiteInfo model = bllWeisite.GetWebsiteInfo(); if (model != null && !string.IsNullOrEmpty(model.WeiXinBindDomain)) { strDomain = model.WeiXinBindDomain; } sbCategory.Append(new MySpider.MyCategories().GetSelectOptionHtml(juActivityBll.GetList <ArticleCategory>(string.Format("WebsiteOwner='{0}' And CategoryType='{1}'", juActivityBll.WebsiteOwner, "activity")), "AutoID", "PreID", "CategoryName", 0, "ddlcategory", "width:200px", "全部")); sbCategory1.Append(new MySpider.MyCategories().GetSelectOptionHtml(juActivityBll.GetList <ArticleCategory>(string.Format("WebsiteOwner='{0}' And CategoryType='{1}'", juActivityBll.WebsiteOwner, "activity")), "AutoID", "PreID", "CategoryName", 0, "ddlsetcategory", "width:200px", "")); isHide = bllMenupermission.CheckPerRelationByaccount(bllUser.GetCurrUserID(), -1); IsShowActivityPv = bllMenupermission.CheckUserAndPmsKey(bllUser.GetCurrUserID(), BLLPermission.Enums.PermissionSysKey.IsShowActivityPv); }
protected void Page_Load(object sender, EventArgs e) { model = bllWebSite.GetWebsiteInfo(bllWebSite.WebsiteOwner); if (model != null && !string.IsNullOrEmpty(model.WeiXinBindDomain)) { strDomain = model.WeiXinBindDomain; } }
protected void Page_Load(object sender, EventArgs e) { cateRootId = Convert.ToInt32(Request["cateRootId"]); isHideTag = Convert.ToInt32(Request["isHideTag"]); isHideCate = Convert.ToInt32(Request["isHideCate"]); isHideLevel = Convert.ToInt32(Request["isHideLevel"]); isHideWeixin = Convert.ToInt32(Request["isHideWeixin"]); isHideArea = Convert.ToInt32(Request["isHideArea"]); isHideTemplate = Convert.ToInt32(Request["isHideTemplate"]); isHideRelationArticle = Convert.ToInt32(Request["isHideRelationArticle"]); isHideUpSort = Convert.ToInt32(Request["isHideUpSort"]); nickReplaceId = Convert.ToInt32(Request["nickReplaceId"]); summaryReplaceTitle = Convert.ToInt32(Request["summaryReplaceTitle"]); isHideSummary = Convert.ToInt32(Request["isHideSummary"]); isHideImg = Convert.ToInt32(Request["isHideImg"]); isHideFile = Convert.ToInt32(Request["isHideFile"]); isHideUrl = Convert.ToInt32(Request["isHideUrl"]); isShowPraise = Convert.ToInt32(Request["isShowPraise"]); isShowFavorite = Convert.ToInt32(Request["isShowFavorite"]); isShowReward = Convert.ToInt32(Request["isShowReward"]); isHideDelete = Convert.ToInt32(Request["isHideDelete"]); isHideAdd = Convert.ToInt32(Request["isHideAdd"]); isHideShareMonitorId = Convert.ToInt32(Request["isHideShareMonitorId"]); isHideCommentCount = Convert.ToInt32(Request["isHideCommentCount"]); var moduleNameReq = Request["moduleName"]; var typeReq = Request["type"]; WebsiteInfo model = bllWeisite.GetWebsiteInfo(); if (model != null && !string.IsNullOrEmpty(model.WeiXinBindDomain)) { strDomain = model.WeiXinBindDomain; } if (!string.IsNullOrWhiteSpace(moduleNameReq)) { moduleName = moduleNameReq; } if (!string.IsNullOrWhiteSpace(typeReq)) { type = typeReq; } tableFieldList = bllTableFieldMap.GetTableFieldMap(bllTableFieldMap.WebsiteOwner, "JuActivityInfo", cateRootId.ToString(), null, false, "0", null, type); //foreach (var item in juActivityBll.GetList<ArticleCategory>(string.Format("WebsiteOwner='{0}' And CategoryType='article'", WebsiteOwner))) //{ // sbCategory.AppendFormat("<option value=\"{0}\">{1}</option>", item.AutoID, item.CategoryName); //} //GetTutor(); sbCategory.Append(new MySpider.MyCategories().GetSelectOptionHtml(juActivityBll.GetList <ArticleCategory>(string.Format("WebsiteOwner='{0}' And CategoryType='{1}'", juActivityBll.WebsiteOwner, type)), "AutoID", "PreID", "CategoryName", cateRootId, "ddlcategory", "width:200px", "全部")); sbCategory1.Append(new MySpider.MyCategories().GetSelectOptionHtml(juActivityBll.GetList <ArticleCategory>(string.Format("WebsiteOwner='{0}' And CategoryType='{1}'", juActivityBll.WebsiteOwner, type)), "AutoID", "PreID", "CategoryName", cateRootId, "ddlsetcategory", "width:200px", "")); isHide = bllMenupermission.CheckPerRelationByaccount(bllUser.GetCurrUserID(), -1); isArticlePv = bllMenupermission.CheckUserAndPmsKey(bllUser.GetCurrUserID(), BLLPermission.Enums.PermissionSysKey.IsShowArticlePv); WebsiteOwner = bllMenupermission.WebsiteOwner; }
protected void Page_Load(object sender, EventArgs e) { action = !string.IsNullOrEmpty(Request["websiteowner"]) ? "编辑" : "新建"; webAction = !string.IsNullOrEmpty(Request["websiteowner"]) ? "EditWebsite" : "AddWebsite"; if (!string.IsNullOrEmpty(Request["websiteowner"])) { model = bllWebsite.GetWebsiteInfo(Request["websiteowner"]); } levelList = bllDis.QueryUserLevelList(model.WebsiteOwner, "DistributionOnLine"); }
protected void Page_Load(object sender, EventArgs e) { type = string.IsNullOrWhiteSpace(Request["type"]) ? "0" : Request["type"]; typeName = type == "0" ? "题库" : "问卷"; WebsiteInfo model = bllWeisite.GetWebsiteInfo(); if (model != null && !string.IsNullOrEmpty(model.WeiXinBindDomain)) { strDomain = model.WeiXinBindDomain; } }
protected void Page_Load(object sender, EventArgs e) { List <ArticleCategory> list = bllArticleCategory.GetList <ArticleCategory>(string.Format("WebsiteOwner='{0}' And CategoryType='{1}'", bllArticleCategory.WebsiteOwner, "Outlets")); sbCategory.Append(new MySpider.MyCategories().GetSelectOptionHtml(list, "AutoID", "PreID", "CategoryName", cateRootId, "ddlCate", "width:200px", "")); WebsiteInfo model = bllWeisite.GetWebsiteInfo(); if (model != null && !string.IsNullOrEmpty(model.WeiXinBindDomain)) { strDomain = model.WeiXinBindDomain; } }
protected void Page_Load(object sender, EventArgs e) { WebsiteInfo model = bllWeisite.GetWebsiteInfo(); if (model != null && !string.IsNullOrEmpty(model.WeiXinBindDomain)) { strDomain = model.WeiXinBindDomain; } formField = bllTableFieldMap.GetTableFieldMapByWebsite(bllTableFieldMap.WebsiteOwner, "ZCJ_JuActivityInfo", Request["type"], null, "0", null); typeConfig = bllArticleCategory.GetArticleCategoryTypeConfig(bllArticleCategory.WebsiteOwner, Request["type"]); }
protected void Page_Load(object sender, EventArgs e) { this.user = userBll.GetCurrWebSiteUserInfo(); menuModel = weixinBll.Get <ZentCloud.BLLJIMP.Model.WeixinReplyRuleInfo>(string.Format(" UserID = '{0}' and RuleType = 4 ", user.UserID)); currentWebsiteInfo = userBll.GetWebsiteInfoModelFromDataBase(); OauthDomain = ZentCloud.Common.ConfigHelper.GetConfigString("WeixinOpenOAuthDoMain"); WebsiteInfo model = bllWeisite.GetWebsiteInfo(); if (model != null && !string.IsNullOrEmpty(model.WeiXinBindDomain)) { strDomain = model.WeiXinBindDomain; } }
protected void Page_Load(object sender, EventArgs e) { ActivityID = bllDis.GetDistributionOffLineApplyActivityID(); SysRecommendCode = bllUser.GetCurrWebSiteUserInfo().AutoID; slides = bllSlide.GetCurrWebsiteAllTypeList(); WebsiteInfo model = bllWeisite.GetWebsiteInfo(); if (model != null && !string.IsNullOrEmpty(model.WeiXinBindDomain)) { strDomain = model.WeiXinBindDomain; } }
protected void Page_Load(object sender, EventArgs e) { //DoMain = Request.Url.Host; //if (!bllUser.GetUserInfo(bllUser.WebsiteOwner).WeixinIsAdvancedAuthenticate.Equals(1)) //{ // DoMain = "xixinxian.comeoncloud.net"; //} WebsiteInfo model = bllWeisite.GetWebsiteInfo(); if (model != null && !string.IsNullOrEmpty(model.WeiXinBindDomain)) { strDomain = model.WeiXinBindDomain; } }
protected void Page_Load(object sender, EventArgs e) { WebsiteInfo model = bllWeisite.GetWebsiteInfo(); if (model != null && !string.IsNullOrEmpty(model.WeiXinBindDomain)) { strDomain = model.WeiXinBindDomain; } if (!string.IsNullOrEmpty(Request["Pfolder"])) { ReviewName = "评论"; } if (!string.IsNullOrEmpty(Request["Pfolder"])) { pFolder = Request["Pfolder"]; } }
protected void Page_Load(object sender, EventArgs e) { if (!bllUser.IsLogin) { Response.Redirect(Request.Url.ToString(), true); return; } var currUser = bllUser.GetCurrentUserInfo(); website = bllWebsite.GetWebsiteInfo(bllWebsite.WebsiteOwner);//当前站点 if (website.IsNeedDistributionRecommendCode == 0) { if (string.IsNullOrWhiteSpace(currUser.DistributionOwner) && currUser.UserID != bllUser.WebsiteOwner) { bllUser.Update(new BLLJIMP.Model.UserInfo(), string.Format(" DistributionOwner = '{0}' ", bllUser.WebsiteOwner), string.Format(" AutoID = {0} ", currUser.AutoID)); } } }
protected void Page_Load(object sender, EventArgs e) { categoryType = Request["type"]; isAdded = categoryType.Contains("Added"); nCategoryTypeConfig = bllArticleCategory.GetArticleCategoryTypeConfig(bllArticleCategory.WebsiteOwner, categoryType); if (nCategoryTypeConfig != null) { currShowName = nCategoryTypeConfig.CategoryTypeDispalyName; } List <BLLJIMP.Model.ArticleCategory> list = bllArticleCategory.GetList <BLLJIMP.Model.ArticleCategory>(string.Format("WebsiteOwner='{0}' And CategoryType='{1}'", bllArticleCategory.WebsiteOwner, categoryType)); sbCategory.Append(new MySpider.MyCategories().GetSelectOptionHtml(list, "AutoID", "PreID", "CategoryName", cateRootId, "ddlCate", "width:200px", "")); WebsiteInfo model = bllWeisite.GetWebsiteInfo(); if (model != null && !string.IsNullOrEmpty(model.WeiXinBindDomain)) { strDomain = model.WeiXinBindDomain; } }
/// <summary> /// 商城编辑个人资料 /// </summary> /// <param name="context"></param> /// <returns></returns> private string EditUserInfoV1(HttpContext context) { string name = context.Request["Name"]; string phone = context.Request["Phone"]; string email = context.Request["Email"]; string gender = context.Request["Gender"]; string addressArea = context.Request["AddressArea"]; string company = context.Request["Company"]; string position = context.Request["Position"]; string recommendCode = context.Request["RecommendCode"];//推荐码 //格式判断 //if (!string.IsNullOrWhiteSpace(Phone) && !Common.ValidatorHelper.PhoneNumLogicJudge(Phone)) //{ // resp.Status = 0; // resp.Msg = "手机号码格式错误!"; // return Common.JSONHelper.ObjectToJson(resp); //} if (!string.IsNullOrWhiteSpace(email) && !Common.ValidatorHelper.EmailLogicJudge(email)) { resp.Status = 0; resp.Msg = "邮箱地址错误!"; return(Common.JSONHelper.ObjectToJson(resp)); } WebsiteInfo webSitemodel = bllWebsite.GetWebsiteInfo(bllWebsite.WebsiteOwner); if (webSitemodel.IsNeedDistributionRecommendCode == 1) { if (string.IsNullOrEmpty(recommendCode)) { resp.Status = 0; resp.Msg = "请输入推荐码!"; return(Common.JSONHelper.ObjectToJson(resp)); } UserInfo recommendUserInfo = userBll.GetUserInfoByAutoID(int.Parse(recommendCode)); if (recommendUserInfo == null) { resp.Status = 0; resp.Msg = "推荐码错误!"; return(Common.JSONHelper.ObjectToJson(resp)); } currentUserInfo.DistributionOwner = recommendUserInfo.UserID; } currentUserInfo.TrueName = name; currentUserInfo.Phone = phone; currentUserInfo.Email = email; currentUserInfo.Gender = gender; currentUserInfo.AddressArea = addressArea; currentUserInfo.LastLoginDate = DateTime.Now; currentUserInfo.Company = company; currentUserInfo.Postion = position; //UserInfo recommendUserInfo=null; //if (!string.IsNullOrEmpty(recommendCode)) //{ // recommendUserInfo = userBll.GetUserInfoByAutoID(int.Parse(recommendCode)); //} string sql = string.Format(" TrueName='{0}',Phone='{1}',Email='{2}',Gender='{3}',AddressArea='{4}'", currentUserInfo.TrueName, currentUserInfo.Phone, currentUserInfo.Email, currentUserInfo.Gender, currentUserInfo.AddressArea); if (webSitemodel.IsNeedDistributionRecommendCode == 1) { sql += string.Format(",DistributionOwner='{0}' ", currentUserInfo.DistributionOwner); } if (this.userBll.Update(currentUserInfo, sql, string.Format(" AutoID={0}", currentUserInfo.AutoID)) > 0) { resp.Status = 1; resp.Msg = "保存成功!"; return(Common.JSONHelper.ObjectToJson(resp)); } else { resp.Status = 0; resp.Msg = "更新失败!"; return(Common.JSONHelper.ObjectToJson(resp)); } }
protected void Page_Load(object sender, EventArgs e) { List <long> groupids = bllPms.GetPmsGroupIDByUser(bll.WebsiteOwner); if (groupids.Count > 0) { webpms_groups = Common.MyStringHelper.ListToStr(groupids, "", ","); } string key = this.Request["key"]; BLLJIMP.Model.Component nComponent = bll.GetComponentByKey(key, bll.WebsiteOwner); if (nComponent == null) { Common.WebMessageBox.Show(this, "组件未找到"); return; } keyname = bll.GetComponentNameByKey(key); ComponentModel componentModel = bll.GetByKey <ComponentModel>("AutoId", nComponent.ComponentModelId.ToString()); if (componentModel == null) { Common.WebMessageBox.Show(this, "模板未找到"); return; } List <ComponentModelField> componentModelFields = bll.GetListByKey <ComponentModelField>("ComponentModelKey", componentModel.ComponentModelKey) .OrderBy(p => p.ComponentFieldSort).ToList(); dynamic cModel = new { component_model_id = componentModel.AutoId, component_model_name = componentModel.ComponentModelName, component_model_type = componentModel.ComponentModelType, component_model_link_url = componentModel.ComponentModelLinkUrl, component_model_html_url = componentModel.ComponentModelHtmlUrl, component_model_fields = (from p in componentModelFields select new { component_field_id = p.AutoId, component_field = p.ComponentField, component_field_name = p.ComponentFieldName, component_field_type = p.ComponentFieldType, component_field_data_type = p.ComponentFieldType, component_field_data_value = p.ComponentFieldDataValue }) }; component = JsonConvert.SerializeObject(nComponent); component_model = JsonConvert.SerializeObject(cModel); //读取广告 StringBuilder sbWhere = new StringBuilder(string.Format(" WebSiteOwner='{0}'", bll.WebsiteOwner)); var slideData = bll.GetColList <BLLJIMP.Model.Slide>(int.MaxValue, 1, sbWhere.ToString(), "AutoID,Type"); dynamic result = slideData.Select(p => p.Type).Distinct().OrderBy(p => p); slides = JsonConvert.SerializeObject(result); //读取组件 sbWhere = new StringBuilder(); sbWhere.AppendFormat(" WebsiteOwner='{0}'", bll.WebsiteOwner); sbWhere.AppendFormat(" AND ComponentType != 'page' "); var componentList = bll.GetColList <BLLJIMP.Model.Component>(int.MaxValue, 1, sbWhere.ToString(), "AutoId,ComponentName,ComponentType"); result = from p in componentList select new { component_id = p.AutoId, component_name = p.ComponentName, component_type = p.ComponentType }; common_components = JsonConvert.SerializeObject(result); //读取底部工具栏 sbWhere = new StringBuilder(); sbWhere.AppendFormat(" WebsiteOwner='{0}' OR WebsiteOwner Is Null ", bll.WebsiteOwner); List <CompanyWebsite_ToolBar> dataList = bll.GetColList <CompanyWebsite_ToolBar>(int.MaxValue, 1, sbWhere.ToString(), "AutoID,KeyType,UseType"); result = (from p in dataList select new { key_type = p.KeyType, use_type = p.UseType }).Distinct(); toolbars = JsonConvert.SerializeObject(result); int total = 0; //读取商品分类 List <BLLJIMP.Model.WXMallCategory> mallCateList = bllMall.GetCategoryList(1, int.MaxValue, null, out total); result = (from p in mallCateList select new { cate_id = p.AutoID, cate_name = p.CategoryName }).Distinct(); mall_cates = JsonConvert.SerializeObject(result); //读取商品标签 List <BLLJIMP.Model.MemberTag> tagList = bllTag.GetTags(bllTag.WebsiteOwner, null, 1, int.MaxValue, out total, "Mall"); result = tagList.OrderBy(p => p.TagName).Select(p => p.TagName).Distinct(); mall_tags = JsonConvert.SerializeObject(result); List <ArticleCategory> artCateList = bllArticleCategory.GetCateList(out total, "Article", null, bllArticleCategory.WebsiteOwner, int.MaxValue, 1); List <ListItem> artCateItemList = new List <ListItem>(); if (artCateList.Count > 0) { artCateItemList = bllMyCategories.GetCateListItem(bllMyCategories.GetCommCateModelList("AutoID", "PreID", "CategoryName", artCateList), 0); } result = (from p in artCateItemList select new { cate_id = p.Value, cate_name = p.Text }).Distinct(); art_cates = JsonConvert.SerializeObject(result); List <ArticleCategory> actCateList = bllArticleCategory.GetCateList(out total, "Activity", null, bllArticleCategory.WebsiteOwner, int.MaxValue, 1); List <ListItem> actCateItemList = new List <ListItem>(); if (actCateList.Count > 0) { actCateItemList = bllMyCategories.GetCateListItem(bllMyCategories.GetCommCateModelList("AutoID", "PreID", "CategoryName", actCateList), 0); } result = (from p in actCateItemList select new { cate_id = p.Value, cate_name = p.Text }).Distinct(); act_cates = JsonConvert.SerializeObject(result); WebsiteInfo model = bllWeisite.GetWebsiteInfo(); if (model != null && !string.IsNullOrEmpty(model.WeiXinBindDomain)) { strDomain = model.WeiXinBindDomain; } }
public void ProcessRequest(HttpContext context) { int pageIndex = Convert.ToInt32(context.Request["page"]); int pageSize = Convert.ToInt32(context.Request["rows"]); string keyWords = context.Request["keyword"]; string type = context.Request["type"]; string action = context.Request["action"]; string useId = context.Request["user_id"]; WebsiteInfo webSite = bllWeisite.GetWebsiteInfo(bllWeisite.WebsiteOwner); int totalCount = 0; List <BLLJIMP.Model.Log> logList = bllLog.List(pageIndex, pageSize, type, action, useId, keyWords, out totalCount, "", webSite.LogLimitDay); List <dynamic> returnList = new List <dynamic>(); foreach (var item in logList) { UserInfo userModel = bllUser.GetUserInfo(item.UserID); var remark = item.Remark; if (!string.IsNullOrWhiteSpace(remark)) { if (remark.IndexOf("用户[") > -1) { var dealUserId = remark.Substring(remark.IndexOf("用户[") + 3); dealUserId = dealUserId.Substring(0, dealUserId.IndexOf("]")); var dealUser = bllUser.GetUserInfo(dealUserId); var replaceStr = string.Empty; if (dealUser != null) { replaceStr = string.Format("用户[id:{0} {1} {2}]", dealUser.AutoID, string.IsNullOrWhiteSpace(dealUser.WXNickname) ? "" : ",微信昵称:" + dealUser.WXNickname, string.IsNullOrWhiteSpace(dealUser.TrueName) ? "" : ",姓名:" + dealUser.TrueName ); } else { replaceStr = "用户[用户不存在,可能已删除]"; } remark = remark.Replace("用户[" + dealUserId + "]", replaceStr); } } returnList.Add(new { id = item.AutoID, user_id = item.UserID, ip = item.IP, time = item.InsertDate, time_str = item.InsertDate.ToString("yyyy-MM-dd HH:mm:ss"), browser = item.Browser, browser_id = item.BrowserID, module = item.Module, remark = remark, action = item.Action, true_name = userModel.TrueName }); } context.Response.Write(ZentCloud.Common.JSONHelper.ObjectToJson(new { total = totalCount, rows = returnList })); }
protected void Page_Load(object sender, EventArgs e) { webSite = bllWebsite.GetWebsiteInfo(bllWebsite.WebsiteOwner); }
protected void Page_Load(object sender, EventArgs e) { if (!string.IsNullOrEmpty(Request["moduleType"])) { moduleType = Request["moduleType"]; } if (!string.IsNullOrEmpty(Request["moduleName"])) { moduleName = Request["moduleName"]; } if (moduleType == "HouseRecommend") { tipMsg = "楼盘名称、省份、城市、地区"; } if (moduleType == "CompanyBranchApply") { tipMsg = "城市、联系人、联系方式"; } if (moduleType == "CompanyBranchRecommend") { tipMsg = "城市、联系人、联系方式"; } if (moduleType == "HouseAppointment") { tipMsg = "楼盘名称、联系人、联系方式、备注"; } if (moduleType == "HouseBuyerRecommend") { tipMsg = "楼盘名称、联系人、联系方式、备注"; } statusList = bllDis.QueryProjectStatusList(moduleType); var statusModel = statusList.FirstOrDefault(p => p.StatusAction == "DistributionOffLineCommission"); if (statusModel != null) { CommissionStatus = statusModel.OrderStatu; } var fieldList = bllDis.QueryProjectFieldMapList(moduleType); for (int i = 0; i < fieldList.Count; i++) { if (fieldList[i].IsShowInList == 0) { continue; } Columns += "{ field: '" + fieldList[i].Field + "', title: '" + fieldList[i].MappingName + "', width: 10, align: 'left' }"; if (i < fieldList.Count - 1) { Columns += ","; } } ActivityID = bllDis.GetDistributionOffLineApplyActivityID(); WebsiteInfo model = bllWeisite.GetWebsiteInfo(); if (model != null && !string.IsNullOrEmpty(model.WeiXinBindDomain)) { strDomain = model.WeiXinBindDomain; } }