package com.ishop.merchant.controller; import com.ishop.merchant.BaseController; import com.ishop.model.vo.GuaranteeGroupVo; import com.walker.web.ResponseValue; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import java.util.List; @RestController @RequestMapping("/merchant/product/guarantee/group") public class MerProdGuaranteeGroupController extends BaseController { // @ApiOperation(value = "保障服务组合列表") @RequestMapping(value = "/list", method = RequestMethod.GET) public ResponseValue list(){ int merId = this.getCurrentUser().getMer_id().intValue(); List data = this.getProductGuaranteeService().queryMerchantGroupGuaranteeList(merId); return ResponseValue.success(data); } }