From 575abcd709c621a8bc6ef9c0b07286393d579fd0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com>
Date: Tue, 18 Aug 2020 09:45:26 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
SCP/Handlers/ReceiveHandler.ashx | 1 -
SCP/Handlers/ReceiveHandler.ashx.cs | 73 -----------------------------
SCP/SCP.csproj | 40 ----------------
3 files changed, 114 deletions(-)
delete mode 100644 SCP/Handlers/ReceiveHandler.ashx
delete mode 100644 SCP/Handlers/ReceiveHandler.ashx.cs
diff --git a/SCP/Handlers/ReceiveHandler.ashx b/SCP/Handlers/ReceiveHandler.ashx
deleted file mode 100644
index ab799d9..0000000
--- a/SCP/Handlers/ReceiveHandler.ashx
+++ /dev/null
@@ -1 +0,0 @@
-<%@ WebHandler Language="C#" CodeBehind="ReceiveHandler.ashx.cs" Class="SCP.Handlers.ReceiveHandler" %>
diff --git a/SCP/Handlers/ReceiveHandler.ashx.cs b/SCP/Handlers/ReceiveHandler.ashx.cs
deleted file mode 100644
index eeb6615..0000000
--- a/SCP/Handlers/ReceiveHandler.ashx.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-using Newtonsoft.Json.Linq;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-
-namespace SCP.Handlers
-{
- ///
- /// ReceiveHandler 的摘要说明
- ///
- public class ReceiveHandler : IHttpHandler
- {
-
- public void ProcessRequest(HttpContext context)
- {
- string rowId = context.Request.QueryString["id"];
- int rowIdInt = Convert.ToInt32(rowId);
-
- JObject jo = new JObject();
-
- JArray ja = new JArray();
-
- Random rd = new Random();
- for (int i = 0; i < 3; i++)
- {
- JObject joItem = new JObject();
-
- if (i == 0)
- {
- joItem.Add("type", "入学");
- }
- else if (i == 1)
- {
- joItem.Add("type", "期中");
- }
- else if (i == 2)
- {
- joItem.Add("type", "期末");
- }
-
- int randomMinValue = 80;
- int randomMaxValue = 100;
- if (rowIdInt % 2 == 0)
- {
- randomMinValue = 40;
- randomMaxValue = 80;
- }
- joItem.Add("yuwen", rd.Next(randomMinValue, randomMaxValue));
- joItem.Add("shuxue", rd.Next(randomMinValue, randomMaxValue));
- joItem.Add("yingwen", rd.Next(randomMinValue, randomMaxValue));
- joItem.Add("wuli", rd.Next(randomMinValue, randomMaxValue));
- joItem.Add("huaxue", rd.Next(randomMinValue, randomMaxValue));
-
- ja.Add(joItem);
- }
-
- jo.Add("data", ja);
- jo.Add("total", ja.Count);
-
- context.Response.ContentType = "text/plain";
- context.Response.Write(jo.ToString(Newtonsoft.Json.Formatting.None));
- }
-
- public bool IsReusable
- {
- get
- {
- return false;
- }
- }
- }
-}
\ No newline at end of file
diff --git a/SCP/SCP.csproj b/SCP/SCP.csproj
index 7013896..63dd90b 100644
--- a/SCP/SCP.csproj
+++ b/SCP/SCP.csproj
@@ -177,7 +177,6 @@
-
@@ -2906,12 +2905,10 @@
-
-
@@ -4496,7 +4493,6 @@
-
@@ -4508,9 +4504,7 @@
-
-
@@ -4647,13 +4641,6 @@
log_view.aspx
-
- MakeInitUser.aspx
- ASPXCodeBehind
-
-
- MakeInitUser.aspx
-
menu.aspx
ASPXCodeBehind
@@ -4893,12 +4880,6 @@
MakeVerifyCode.ashx
-
- ReceiveHandler.ashx
-
-
- ServiceHandler.ashx
-
Price.aspx
ASPXCodeBehind
@@ -5524,13 +5505,6 @@
ViewSwitcher.ascx
-
- SCP_COMPARE.aspx
- ASPXCodeBehind
-
-
- SCP_COMPARE.aspx
-
SCP_INVOICE_VIEW.aspx
ASPXCodeBehind
@@ -5608,13 +5582,6 @@
SCP_RECEIVE_DETAIL_VIEW.aspx
-
- SCP_REJECT.aspx
- ASPXCodeBehind
-
-
- SCP_REJECT.aspx
-
SCP_RECEIVE.aspx
ASPXCodeBehind
@@ -5622,13 +5589,6 @@
SCP_RECEIVE.aspx
-
- SCP_REJECT_DETAIL.aspx
- ASPXCodeBehind
-
-
- SCP_REJECT_DETAIL.aspx
-
SCP_RECEIVE_DETAIL.aspx
ASPXCodeBehind