Explorar el Código

增加获取报告详情接口

littleblue55 hace 1 mes
padre
commit
a5358392e3
Se han modificado 1 ficheros con 10 adiciones y 0 borrados
  1. 10 0
      api/report.js

+ 10 - 0
api/report.js

@@ -44,4 +44,14 @@ export function loadMyReport(data){
 		data: data,
 		'method': 'post'
 	})
+}
+
+export function getReportDetail(id){
+	return request({
+		'url': `/report/${id}`,
+		headers: {
+			isToken: true
+		},
+		'method': 'get'
+	})
 }