|
@@ -92,12 +92,12 @@ public class ProductOrderController {
|
|
|
return RespDTO.onSuc(productOrderFacade.waitExamOrderCou());
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "客户中心-传入用户id查询已开通的功能[by:wangfeng]", notes = "已开通信息")
|
|
|
+ @ApiOperation(value = "客户中心-传入用户id查询已开通的功能(传userId)[by:wangfeng]", notes = "已开通信息")
|
|
|
@PostMapping("/getInformationAvailableByUserId")
|
|
|
@SysLogger("getInformationAvailableByUserId")
|
|
|
- public RespDTO getInformationAvailableByUserId(Long userId) {
|
|
|
+ public RespDTO getInformationAvailableByUserId(@RequestBody OpenedProducts openedProduct) {
|
|
|
OpenedProducts openedProducts = new OpenedProducts();
|
|
|
- openedProducts.setUserId(userId);
|
|
|
+ openedProducts.setUserId(openedProduct.getUserId());
|
|
|
List<UserAndProdutDTO> UserAndProdutData = openedProductsFacade.getInformationAvailableByUserId(openedProducts);
|
|
|
return RespDTO.onSuc(UserAndProdutData);
|
|
|
}
|
|
@@ -112,12 +112,13 @@ public class ProductOrderController {
|
|
|
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "客户中心-传入用户id和产品id,删除开通信息[by:wangfeng]", notes = "删除开通信息")
|
|
|
+ @ApiOperation(value = "客户中心-传入用户userId和产品productId,删除开通信息[by:wangfeng]", notes = "删除开通信息")
|
|
|
@PostMapping("/delInformationAvailable")
|
|
|
@SysLogger("delInformationAvailable")
|
|
|
@Transactional
|
|
|
- public RespDTO delInformationAvailable(@RequestParam Long userId, Long productId) {
|
|
|
-
|
|
|
+ public RespDTO delInformationAvailable(@RequestBody OpenedProducts openedProduct) {
|
|
|
+ long userId = openedProduct.getUserId();
|
|
|
+ long productId = openedProduct.getProductId();
|
|
|
return openedProductsFacade.delInformationAvailables(userId, productId);
|
|
|
}
|
|
|
|