瀏覽代碼

feat: 拉数据回调接口加入验签

许家凯 3 年之前
父節點
當前提交
4b513f18e7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/scala/com/winhc/bigdata/spark/ng/pull/PullDataJob.scala

+ 1 - 1
src/main/scala/com/winhc/bigdata/spark/ng/pull/PullDataJob.scala

@@ -161,7 +161,7 @@ case class PullDataJob(s: SparkSession
   private def call_back(vo: Seq[TablePartitionInfoVO]): Unit = {
     try {
       println("call back! ")
-      val result = Http("http://192.168.2.54:8588/call-back")
+      val result = Http("http://192.168.2.54:8588/call-back?sign=hnjmkladfsvhjklnmadsvfhjklmnasdfvgbkln")
         .postData(vo.toJson())
         .header("Content-Type", "application/json")
         .header("Charset", "UTF-8")