修改日志
This commit is contained in:
@@ -22,7 +22,7 @@ import java.util.concurrent.ExecutionException;
|
||||
* 事件订阅管理
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/event")
|
||||
@RequestMapping("/cloudEvents")
|
||||
@Slf4j
|
||||
public class EGEventSubscriptionController {
|
||||
|
||||
@@ -35,16 +35,16 @@ public class EGEventSubscriptionController {
|
||||
@GetMapping("/getBrand")
|
||||
public void getBrand(){
|
||||
ResultDTO<List<CompetingBrrandsDTO>> result = CompetingBrandsClient.getBrand();
|
||||
log.info("callback", JSON.toJSONString(result));
|
||||
log.info("getBrand", JSON.toJSONString(result));
|
||||
}
|
||||
@GetMapping("/getSeriesByBrandId")
|
||||
public void getSeriesByBrandId(String brandId){
|
||||
public void getSeriesByBrandId(@RequestParam("brandId") String brandId){
|
||||
ResultDTO<List<CompetingBrrandsDTO>> result = CompetingBrandsClient.getSeriesByBrandId(brandId);
|
||||
log.info("callback", JSON.toJSONString(result));
|
||||
log.info("getSeriesByBrandId", JSON.toJSONString(result));
|
||||
}
|
||||
@PostMapping("/callback")
|
||||
public void callback(@RequestBody Object req){
|
||||
log.info("callback", JSON.toJSONString(req));
|
||||
log.info("EGEventSubscriptionControllerCallback", JSON.toJSONString(req));
|
||||
|
||||
}
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user