private void ProcessForbid() { using (var a = new WebHelperClient()) { var dic = new SafeStringToStringDirectionary(); dic.Add("UserID", Request.QueryString["UserID"].ToSafeString()); dic.Add("reason", Request.QueryString["reason"].ToSafeString()); dic.Add("day", Request.QueryString["day"].ToSafeString()); Response.Write(a.GMAction("forbid", dic.ToDictionary())); } }
private void ProcessStart() { if (this.usertype <= 2) { Response.Write("对不起,你的权限不足"); return; } using (var a = new WebHelperClient()) { var dic = new SafeStringToStringDirectionary(); dic.Add("type", Request.QueryString["type"].ToSafeString()); Response.Write(a.GMAction("start", dic.ToDictionary())); } }