Commit bea69a42 by 向延琳

增加路径注解

1 parent 80ee6af0
...@@ -4,6 +4,7 @@ import cn.com.glsx.stdinterface.api.JourneyClient; ...@@ -4,6 +4,7 @@ import cn.com.glsx.stdinterface.api.JourneyClient;
import cn.com.glsx.stdinterface.dto.DeviceJourneyDTO; import cn.com.glsx.stdinterface.dto.DeviceJourneyDTO;
import cn.com.glsx.stdinterface.modules.service.JourneyService; import cn.com.glsx.stdinterface.modules.service.JourneyService;
import com.glsx.plat.core.web.R; import com.glsx.plat.core.web.R;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -24,6 +25,7 @@ public class JourneyController implements JourneyClient { ...@@ -24,6 +25,7 @@ public class JourneyController implements JourneyClient {
@Resource @Resource
private JourneyService journeyService; private JourneyService journeyService;
@PostMapping(value = "/saveDeviceJourney")
@Override @Override
public R saveDeviceJourney(DeviceJourneyDTO deviceJourneyDTO) { public R saveDeviceJourney(DeviceJourneyDTO deviceJourneyDTO) {
journeyService.saveDeviceJourney(deviceJourneyDTO); journeyService.saveDeviceJourney(deviceJourneyDTO);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!