|
@@ -14,7 +14,6 @@ import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
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;
|
|
@@ -50,7 +49,7 @@ public class DiagLantoneProductController {
|
|
@ApiOperation(value = "分页查询查询产品线",
|
|
@ApiOperation(value = "分页查询查询产品线",
|
|
notes = "name:添加后则根据产品名称查询,选填<br>"+
|
|
notes = "name:添加后则根据产品名称查询,选填<br>"+
|
|
"根据每页显示条数,默认 10,和当前页<br>")
|
|
"根据每页显示条数,默认 10,和当前页<br>")
|
|
- @GetMapping("/selectProduct")
|
|
|
|
|
|
+ @PostMapping("/selectProduct")
|
|
@SysLogger("selectProduct")
|
|
@SysLogger("selectProduct")
|
|
public RespDTO<LantoneProduct> selectProduct(Page page , String name){
|
|
public RespDTO<LantoneProduct> selectProduct(Page page , String name){
|
|
IPage<LantoneProduct> pages = lantoneProductFacade.selectProduct(page,name);
|
|
IPage<LantoneProduct> pages = lantoneProductFacade.selectProduct(page,name);
|
|
@@ -94,7 +93,7 @@ public class DiagLantoneProductController {
|
|
}
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "根据用户id查询当前用户已开通产品")
|
|
@ApiOperation(value = "根据用户id查询当前用户已开通产品")
|
|
- @GetMapping("/opendedProductByCurrentUser")
|
|
|
|
|
|
+ @PostMapping("/opendedProductByCurrentUser")
|
|
@SysLogger("opendedProductByCurrentUser")
|
|
@SysLogger("opendedProductByCurrentUser")
|
|
public RespDTO opendedProductByCurrentUser() {
|
|
public RespDTO opendedProductByCurrentUser() {
|
|
List<LantoneProductWrapper> list = lantoneProductFacade.opendedProductByCurrentUser();
|
|
List<LantoneProductWrapper> list = lantoneProductFacade.opendedProductByCurrentUser();
|