Commit bd287d08 authored by Quxl's avatar Quxl

x

parent e0f45641
......@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import com.egolm.pds.schedule.PdsProductsUpdateTask;
import com.egolm.pds.schedule.ProductsTask;
@RestController
@RequestMapping
......@@ -21,7 +21,7 @@ public class TestController {
private String profiles;
@Autowired
private PdsProductsUpdateTask task;
private ProductsTask task;
@RequestMapping(method = {RequestMethod.GET, RequestMethod.POST})
public String list(HttpServletRequest request) {
......
......@@ -17,7 +17,7 @@ import com.egolm.pds.config.HttpUtil;
import com.egolm.pds.schedule.service.PdsService;
@Component
public class PdsPriceUpdateTask {
public class PriceTask {
@Autowired
private PdsService pdsService;
......
......@@ -17,7 +17,7 @@ import com.egolm.pds.config.HttpUtil;
import com.egolm.pds.schedule.service.PdsService;
@Component
public class PdsProductsUpdateTask {
public class ProductsTask {
@Autowired
private PdsService pdsService;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment