fanxw 1 år sedan
förälder
incheckning
8bd187e541

+ 5 - 4
src/main/java/com/chinaitop/depot/basic/controller/BasicKeeperController.java

@@ -558,13 +558,14 @@ public class BasicKeeperController {
558 558
 		@ApiImplicitParam(name = "houseId", value = "仓房ID", paramType = "query"),
559 559
 		@ApiImplicitParam(name = "orgId", value = "库ID", paramType = "query")
560 560
 	})
561
-	public String getBgztxUrl(Integer houseId, Integer orgId) {
562
-		String filepath = null;
561
+	public Map<String, String> getBgztxUrl(Integer houseId, Integer orgId) {
562
+		Map<String, String> map = new HashMap<>();
563 563
 		try {
564
-			filepath = keeperHouseService.getBgztxUrl(houseId, orgId);
564
+			String filepath = keeperHouseService.getBgztxUrl(houseId, orgId);
565
+			map.put("url", filepath);
565 566
 		} catch (Exception e) {
566 567
 			e.printStackTrace();
567 568
 		}
568
-		return filepath;
569
+		return map;
569 570
 	}
570 571
 }