From 62fe2296a31f9a5c221f1b67a52348f1a5a6df49 Mon Sep 17 00:00:00 2001 From: chenglong <418351270@qq.com> Date: 星期二, 17 十二月 2024 10:25:42 +0800 Subject: [PATCH] 接口 --- billion-main/src/main/java/com/billion/main/api/RestfulAPI.java | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/billion-main/src/main/java/com/billion/main/api/RestfulAPI.java b/billion-main/src/main/java/com/billion/main/api/RestfulAPI.java index 0755132..216cc01 100644 --- a/billion-main/src/main/java/com/billion/main/api/RestfulAPI.java +++ b/billion-main/src/main/java/com/billion/main/api/RestfulAPI.java @@ -1,5 +1,8 @@ package com.billion.main.api; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; + public class RestfulAPI { /** @@ -7,7 +10,8 @@ * 1銆佸伐鍘侻ES璋冪敤鎺ユ敹宸ュ崟鎺ュ彛锛屽皢宸ュ崟淇℃伅鍙戦�佺粰浜х嚎MES * 2銆佷骇绾縈ES灏嗘帴鏀跺埌鐨勫伐鍗曚俊鎭瓨鍏ュ埌宸ュ崟琛ㄥ拰BOM琛� */ - public void receiveWorkOrdersInfo(){ + @PostMapping("/receiveWorkOrdersInfo") + public void receiveWorkOrdersInfo(@RequestBody Object object){ } } -- Gitblit v1.9.3