|
@ -3,13 +3,11 @@ package com.yihu.jw.care.endpoint.child;
|
|
|
import com.yihu.jw.care.service.child.ChildNewsListService;
|
|
|
import com.yihu.jw.restmodel.web.ObjEnvelop;
|
|
|
import com.yihu.jw.restmodel.web.endpoint.EnvelopRestEndpoint;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
/**
|
|
|
* Created by wsl on 2022/7/20
|
|
@ -17,6 +15,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
@RestController
|
|
|
@RequestMapping("/ChildManageController")
|
|
|
@Api(description = "幼儿端接口")
|
|
|
public class ChildManageController extends EnvelopRestEndpoint {
|
|
|
|
|
|
|
|
@ -25,7 +24,7 @@ public class ChildManageController extends EnvelopRestEndpoint {
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "获取列表")
|
|
|
@GetMapping("/getChildManageList")
|
|
|
@PostMapping("/getChildManageList")
|
|
|
public ObjEnvelop getChildManageList(@ApiParam(name = "type" ,value = "类型 1图文辅导,2视频辅导,3喜讯详细",required = true)
|
|
|
@RequestParam(value = "type",required = true)Integer type,
|
|
|
@ApiParam(name = "id" ,value = "id",required = false)
|