Commit 6e45a399 by liyanlin

增加注释

parent d5238943
...@@ -5,6 +5,8 @@ import com.bailuntec.cost.api.dto.CostPlanDto; ...@@ -5,6 +5,8 @@ import com.bailuntec.cost.api.dto.CostPlanDto;
import com.blt.other.common.util.AxiosUtil; import com.blt.other.common.util.AxiosUtil;
import com.blt.other.module.commons.service.IndexService; import com.blt.other.module.commons.service.IndexService;
import com.blt.other.module.purchasing.dto.BuyPlanDto; import com.blt.other.module.purchasing.dto.BuyPlanDto;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
...@@ -19,6 +21,7 @@ import java.util.Map; ...@@ -19,6 +21,7 @@ import java.util.Map;
@RestController @RestController
@RequestMapping("/index") @RequestMapping("/index")
@Api(tags = "首页接口")
public class IndexController { public class IndexController {
@Resource @Resource
...@@ -46,6 +49,7 @@ public class IndexController { ...@@ -46,6 +49,7 @@ public class IndexController {
return result; return result;
} }
@ApiOperation("费用计划列表,condition=lt(小于)/le(小于等于)/eq(登宇)/ne(不等于)/ge(大于等于)/gt(大于)/in(包含)/notIn(不包含),statusList优先级大于status")
@GetMapping("/costPlanList") @GetMapping("/costPlanList")
public Map<String, Object> costPlanList(Integer userid, public Map<String, Object> costPlanList(Integer userid,
Integer status, Integer status,
...@@ -71,6 +75,7 @@ public class IndexController { ...@@ -71,6 +75,7 @@ public class IndexController {
return result; return result;
} }
@ApiOperation("费用列表,condition=lt(小于)/le(小于等于)/eq(登宇)/ne(不等于)/ge(大于等于)/gt(大于)/in(包含)/notIn(不包含),statusList优先级大于status")
@GetMapping("/costList") @GetMapping("/costList")
public Map<String, Object> costList(Integer userid, public Map<String, Object> costList(Integer userid,
Integer status, Integer status,
......
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