|
|
|
@ -11,7 +11,8 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
public class BusinessController {
|
|
|
|
|
|
|
|
|
|
@GetMapping("/notify")
|
|
|
|
|
public void notifyBusiness(){
|
|
|
|
|
public void notifyBusiness() throws InterruptedException {
|
|
|
|
|
Thread.sleep(400);
|
|
|
|
|
System.out.println("通知商家成功!!");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|