|
@@ -9,6 +9,7 @@ import com.diagbot.entity.LantoneProduct;
|
|
|
import com.diagbot.entity.wrapper.LantoneProductWrapper;
|
|
|
import com.diagbot.entity.wrapper.OpendProductWrapper;
|
|
|
import com.diagbot.facade.LantoneProductFacade;
|
|
|
+import com.diagbot.vo.AddProductsVO;
|
|
|
import com.diagbot.vo.OppendedProductVO;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -33,7 +34,7 @@ public class DiagLantoneProductController {
|
|
|
@Autowired
|
|
|
private LantoneProductFacade lantoneProductFacade;
|
|
|
|
|
|
- @ApiOperation(value = "添加产品线[by:wangyu]",
|
|
|
+ @ApiOperation(value = "产品线管理添加产品[by:wangyu]",
|
|
|
notes = "name:产品名,必填<br>" +
|
|
|
"decription:产品描述,必填<br> " +
|
|
|
"url:产品访问路径,必填<br>" +
|
|
@@ -41,8 +42,8 @@ public class DiagLantoneProductController {
|
|
|
@PostMapping("/addProducts")
|
|
|
@SysLogger("addProducts")
|
|
|
@Transactional
|
|
|
- public RespDTO<Boolean> addProducts(LantoneProduct lantoneProduct){
|
|
|
- return RespDTO.onSuc(lantoneProductFacade.addProducts(lantoneProduct));
|
|
|
+ public RespDTO<Boolean> addProducts(AddProductsVO addProductsVO){
|
|
|
+ return RespDTO.onSuc(lantoneProductFacade.addProducts(addProductsVO));
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "分页查询查询产品线[by:wangyu]",
|