package com.storlead.sales.controller.customer;


import com.storlead.sales.service.customer.CustomerUserFollowService;
import io.swagger.annotations.Api;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 客户重点关注表 前端控制器
 * </p>
 *
 * @author YPZ
 * @since 2024-06-12
 */
@RestController
@RequestMapping("/customer")
@Api(tags = "销售: 客户管理相关接口")
public class CustomerUserFollowController {
    @Resource
    private CustomerUserFollowService customerUserFollowService;

//    @PostMapping(value = "/add-follow")
//    @ApiOperation(value = "客户管理-新增重点关注", notes = "客户管理-新增重点关注")
//    @Transactional(rollbackFor = Throwable.class)
//    public Result<?> addFollow(@RequestBody BusinessAddOrDeleteDTO businessAddOrDeleteDTO) {
//        return customerUserFollowService.addCustomerUserFollow(businessAddOrDeleteDTO);
//    }
//
//    @PostMapping(value = "/cancel")
//    @ApiOperation(value = "客户管理-取消重点关注", notes = "客户管理-取消重点关注")
//    @Transactional(rollbackFor = Throwable.class)
//    public Result<?> cancel(@RequestBody BusinessAddOrDeleteDTO businessAddOrDeleteDTO) {
//        return customerUserFollowService.deleteCustomerUserFollow(businessAddOrDeleteDTO);
//    }

}
