You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bsdgy-server/src/main/java/com/kiisoo/ic/job/detail/SyncDetailJobController.java

26 lines
597 B
Java

6 years ago
package com.kiisoo.ic.job.detail;
6 years ago
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import java.util.Map;
@Controller
@RequestMapping("/job")
@Slf4j
6 years ago
public class SyncDetailJobController {
6 years ago
@Autowired
6 years ago
private CustomerDataJob customerDataJob;
6 years ago
@GetMapping("/sync/customer")
public void getCustomerInfo(){
try {
6 years ago
customerDataJob.handle();
6 years ago
}catch (Exception e){
log.error("",e);
}
}
}