2024-03-11 14:15:25 +08:00
|
|
|
package com.qihang.oms.controller;
|
|
|
|
|
|
|
|
|
|
import lombok.AllArgsConstructor;
|
2024-06-13 14:31:30 +08:00
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.kafka.core.KafkaTemplate;
|
2024-03-11 14:15:25 +08:00
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
@RestController
|
|
|
|
|
public class HomeController {
|
2024-06-13 14:31:30 +08:00
|
|
|
|
|
|
|
|
|
2024-03-11 14:15:25 +08:00
|
|
|
@GetMapping("/")
|
|
|
|
|
public String home(){
|
|
|
|
|
return "{'code':0,'msg':'oms-api请通过api访问'}";
|
|
|
|
|
}
|
2024-03-17 19:19:55 +08:00
|
|
|
}
|