|
@@ -4,7 +4,6 @@ import cn.rankin.apiweb.assist.resolver.NeedUser;
|
|
|
import cn.rankin.apiweb.service.product.ProductService;
|
|
|
import cn.rankin.common.utils.api.model.APIResult;
|
|
|
import cn.rankin.data.api.app.vo.DeviceUserVo;
|
|
|
-import cn.rankin.data.api.product.entity.Training;
|
|
|
import cn.rankin.data.api.product.vo.TrainingItemVo;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
@@ -13,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
@RestController
|
|
|
-@RequestMapping(name = "/training")
|
|
|
+@RequestMapping(value = "/training")
|
|
|
public class TrainingController {
|
|
|
@Autowired
|
|
|
private ProductService productService;
|