sunyj 9 лет назад
Родитель
Сommit
c421a1da44
1 измененных файлов с 9 добавлено и 3 удалено
  1. 9 3
      src/main/webapp/WEB-INF/views/Readme.md

+ 9 - 3
src/main/webapp/WEB-INF/views/Readme.md

@@ -1,4 +1,10 @@
-1.	通过preview.html访问预览页面
-	http://localhost:8080/report/preview?&userName=UAS&reportName=Purchase&otherParameters=&whereCondition=where%20pu_code=%27MP150500300%27
+1.	打印接口
+	http://localhost:8090/report/print?&userName=UAS&reportName=Purchase&otherParameters=&whereCondition=where%20pu_code=%27MP150500300%27&printType=PREVIEW
+	printType有四个可能的值(默认为PREVIEW):
+	1)PREVIEW:进入预览页面
+	2)PRINT:进入预览页面后弹出打印选项
+	3)PDF:下载pdf
+	4)EXCEL:下载纯数据excel
+	
 2.	通过fileUpload.html上传文件
-	http://localhost:8080/report/fileUpload
+	http://localhost:8080/report/fileUpload?userName=tmp