促销接口实现
Change-Id: I140945a50a8ee32042aaf8018b336afd86f5fbac
diff --git a/src/main/java/api/ApiInterface.java b/src/main/java/api/ApiInterface.java
index 475b5d2..b395f7b 100644
--- a/src/main/java/api/ApiInterface.java
+++ b/src/main/java/api/ApiInterface.java
@@ -193,7 +193,8 @@
@PostMapping("/migrate-account")
ResponseEntity<Integer> migrateAccount(
@RequestParam("userid") String userid,
- @RequestParam("file") MultipartFile file
+ @RequestParam("file") MultipartFile file,
+ @RequestParam("uploadtogive") String uploadtogive
);
@GetMapping("/begseed-list")
@@ -223,4 +224,15 @@
ResponseEntity<Integer> createBegSeed(
@RequestBody String requestBody
);
+
+ @GetMapping("/all-seeds")
+ ResponseEntity<String> getAllSeeds();
+
+ @GetMapping("/all-seed-promotions")
+ ResponseEntity<String> getAllSeedPromotions();
+
+ @PostMapping("/set-seed-promotion")
+ ResponseEntity<Integer> createSeedPromotion(
+ @RequestBody String requestBody
+ );
}
\ No newline at end of file