From 2f4492ee18f90274582fcc2bb06f5e9bf64136e8 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期五, 13 五月 2022 17:32:14 +0800
Subject: [PATCH] ProdBackup0513

---
 force-app/main/default/classes/NFMUtil.cls |   54 +-----------------------------------------------------
 1 files changed, 1 insertions(+), 53 deletions(-)

diff --git a/force-app/main/default/classes/NFMUtil.cls b/force-app/main/default/classes/NFMUtil.cls
index 840b710..5e80a26 100644
--- a/force-app/main/default/classes/NFMUtil.cls
+++ b/force-app/main/default/classes/NFMUtil.cls
@@ -58,39 +58,7 @@
         webservice String TransmissionDateTime;
         webservice String Text;
     }
-    //add for pipl sushanhu 20220311 start
-   public static response sendToPiAWS(String rowDataStr, String endpoint,String awsToken) {
 
-        Http http = new Http();
-        HttpRequest req = new HttpRequest();
-        HTTPResponse res;
-        String resb;
-        req.setHeader('Content-Type', 'application/json');
-        req.setTimeout(120000);
-        req.setEndpoint(endpoint);
-        req.setMethod('POST');
-        req.setHeader('pi-token', awsToken);
-        req.setBody(rowDataStr);
-        res = http.send(req);
-        string ress = String.valueOf(res.getStatusCode()) ;
-        resb = res.getBody();
-        system.debug('ress:' + ress);
-        return new response(ress, resb);
-    }
-
-    public static response getAwsToken(){
-        String responseBody = AWSServiceTool.getAWSToken();
-        return new response('success', responseBody);
-    }
-    public class response {
-        public string status;
-        public string responseBody;
-        public response(string status, string responseBody ) {
-            this.status         = status;
-            this.responseBody   = responseBody;
-        }
-    }
-    //add for pipl sushanhu 20220311 end
     /**
      * @return yyyyMMdd 銇棩浠樻枃瀛楀垪
      */
@@ -345,27 +313,7 @@
         }
         return result;
     }
-//add for pipl sushanhu 20220311 start
-    global class NFMResponse{
-        public Boolean SFStatus;
-        public String SFMessage;
-        public StaticResponse staticResponse;
-    }
-    global class StaticResponse{
-        public string status;
-        public String Message;
-        public StaticResponse(){
-            status='0';
-            Message='';
-        }
-    }
-    public static NFMResponse getNFMResponse(){
-        NFMResponse  result=new NFMResponse();
-        result.staticResponse =new StaticResponse();
-        return result;
-        
-    }
-//add for pipl sushanhu 20220311 end
 
     public static Boolean EscapeSBG001TriggerHandler = false;
+
 }
\ No newline at end of file

--
Gitblit v1.9.1