Sfoglia il codice sorgente

zhao:修改服务地址的请求地址

tags/录制修改前
耀 3 anni fa
parent
commit
82d8f6770c
3 ha cambiato i file con 2 aggiunte e 17 eliminazioni
  1. 1
    5
      XHWK.WKTool/App.config
  2. 0
    8
      XHWK.WKTool/App.cs
  3. 1
    4
      XHWK.WKTool/DAL/Interface.cs

+ 1
- 5
XHWK.WKTool/App.config Vedi File

@@ -33,9 +33,6 @@
33 33
 		<add key="isRemind" value="" />
34 34
 		<!--是否为校外 1是 -->
35 35
 		<add key="IsOutsideSchool" value="1" />
36
-		<!--服务地址请求地址-->
37
-		<add key="ServiceAddressAPI" value="http://scapitest.xhkjedu.com" />
38
-		<!--<add key="ServiceAddressAPI" value="https://certapi.xhkjedu.com" />-->
39 36
 		<!--API请求地址-->
40 37
 		<add key="APIRequestAddress" value="http://schoolapi.xhkjedu.com" />
41 38
 		<!--文件平台请求地址-->
@@ -43,9 +40,8 @@
43 40
 		<!--展示文件服务器请求地址-->
44 41
 		<add key="SchoolfileRequestAddress" value="http://schoolfile.xhkjedu.com" />
45 42
 		<!--认证请求地址-->
43
+		<!--<add key="CertapiRequestAddress" value="http://scapitest.xhkjedu.com" />-->
46 44
 		<add key="CertapiRequestAddress" value="http://certapi.xhkjedu.com" />
47
-		<!--TQL铺码API-->
48
-		<add key="TmatrixCode" value="http://111.231.240.239:8030" />
49 45
 		<!--摄像头位置 1.右上 2.左上 3.右下 4.左下-->
50 46
 		<add key="CameraPosition" value="1" />
51 47
 		<!--上传每片大小 Mb-->

+ 0
- 8
XHWK.WKTool/App.cs Vedi File

@@ -45,10 +45,6 @@ namespace XHWK.WKTool
45 45
         /// </summary>
46 46
         public static Model_ServiceAddress ServiceAddress = null;
47 47
         /// <summary>
48
-        /// 服务地址API
49
-        /// </summary>
50
-        public static string ServiceAddressAPI = isDebug ? "http://scapitest.xhkjedu.com" : FileToolsCommon.GetConfigValue("ServiceAddressAPI");
51
-        /// <summary>
52 48
         /// 接口地址
53 49
         /// </summary>
54 50
         public static string apiUrl = isDebug ? "http://schoolapitest.xhkjedu.com" : FileToolsCommon.GetConfigValue("APIRequestAddress");
@@ -64,10 +60,6 @@ namespace XHWK.WKTool
64 60
         /// 认证接口地址
65 61
         /// </summary>
66 62
         public static string certapiUrl = isDebug ? "http://certapitest.xhkjedu.com" : FileToolsCommon.GetConfigValue("CertapiRequestAddress");
67
-        /// <summary>
68
-        /// TQL铺码服务地址
69
-        /// </summary>
70
-        public static string TmatrixCodeURL = FileToolsCommon.GetConfigValue("TmatrixCode");
71 63
         #endregion
72 64
 
73 65
         #region 配置项

+ 1
- 4
XHWK.WKTool/DAL/Interface.cs Vedi File

@@ -13,9 +13,6 @@ namespace XHWK.WKTool.DAL
13 13
 {
14 14
     public class Interface
15 15
     {
16
-        //private string APIRequestAddress = FileToolsCommon.GetConfigValue("APIRequestAddress");
17
-        //private string FileRequestAddress = FileToolsCommon.GetConfigValue("FileRequestAddress");
18
-        //private string schoolfileRequestAddress = FileToolsCommon.GetConfigValue("schoolfileRequestAddress");
19 16
         /// <summary>
20 17
         /// 激活信息--添加
21 18
         /// </summary>
@@ -328,7 +325,7 @@ namespace XHWK.WKTool.DAL
328 325
         /// <returns></returns>
329 326
         public bool GetServiceAddress(string Schoolcode, out string Message)
330 327
         {
331
-            string url = APP.ServiceAddressAPI + "/school/find_code";//地址
328
+            string url = APP.certapiUrl + "/school/find_code";//地址
332 329
 
333 330
             Dictionary<string, object> dic = new Dictionary<string, object>
334 331
             {

Loading…
Annulla
Salva