shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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<GuaranteeGroupVo> data = this.getProductGuaranteeService().queryMerchantGroupGuaranteeList(merId);
        return ResponseValue.success(data);
    }
}