From 705909e14fe4e9f2fc261ee4eb40a8b41fa2f6d4 Mon Sep 17 00:00:00 2001 From: wzp <2880584989@qq.com> Date: 星期二, 12 七月 2022 17:37:26 +0800 Subject: [PATCH] 增加免密登陆的token --- web/web/GwProduct.aspx.cs | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/web/web/GwProduct.aspx.cs b/web/web/GwProduct.aspx.cs index b0c391a..3de30a1 100644 --- a/web/web/GwProduct.aspx.cs +++ b/web/web/GwProduct.aspx.cs @@ -9,6 +9,10 @@ using System.Web.Profile; using System.Web.SessionState; +/** + * 浜у搧绠$悊 + * + */ public partial class _GwProduct : PageBase<SysUser>, IRequiresSessionState { protected List<GwProduct> GwProductList; @@ -86,7 +90,7 @@ StringBuilder stringBuilder = new StringBuilder(); if (this.GwProductClassList.Count == 0) return "<option value='0'>鏃�</option>"; - stringBuilder.AppendFormat("<option value=\"{0}\" >{1}</option>", (object)0, (object)"鏃�"); + stringBuilder.AppendFormat("<option value=\"{0}\" >{1}</option>", (object)"", (object)"鏃�"); foreach (GwProduct bean in this.GwProductClassList) { //鍋滅敤鐨勪骇鍝佸垎绫讳笉鍐嶆樉绀� @@ -101,9 +105,9 @@ } if (productId.Equals(bean.Id) ) - stringBuilder.AppendFormat("<option value=\"{0}\" selected>{0}-{1}</option>", (object)bean.Id, (object)bean.Name); + stringBuilder.AppendFormat("<option value=\"{0}\" selected>{1}</option>", (object)bean.Id, (object)bean.Name); else - stringBuilder.AppendFormat("<option value=\"{0}\">{0}-{1}</option>", (object)bean.Id, (object)bean.Name); + stringBuilder.AppendFormat("<option value=\"{0}\">{1}</option>", (object)bean.Id, (object)bean.Name); } return stringBuilder.ToString(); } -- Gitblit v1.9.1