浏览代码

打水印内网地址更换

xingzai 3 年之前
父节点
当前提交
5d011a0141
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/article.go

+ 1 - 1
controllers/article.go

@@ -824,7 +824,7 @@ func (this *ArticleController) Pdfwatermark() {
 	str, _ := os.Getwd()
 	str, _ := os.Getwd()
 	fileLink = str + "/" + pdfPath + fileName
 	fileLink = str + "/" + pdfPath + fileName
 	dataMap["FileLink"] = fileLink
 	dataMap["FileLink"] = fileLink
-	postUrl := "http://127.0.0.1:5007/pdfwatermark/" //
+	postUrl := "http://172.19.173.227:5007/pdfwatermark/" //
 	fmt.Println("postUrl:", postUrl)
 	fmt.Println("postUrl:", postUrl)
 	postData, err := json.Marshal(dataMap)
 	postData, err := json.Marshal(dataMap)
 	if err != nil {
 	if err != nil {