package com.uas.eis.controller; import com.uas.eis.service.ProductService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import java.util.Map; /** * */ @RestController public class ProductController { @Autowired private ProductService productService; @PostMapping(value = "/yunding/product") public Map postProductToYunding(@RequestParam Integer id){ return productService.postProductToYunding(id); } }