package com.czg.controller.user;

import com.czg.annotation.SaAdminCheckPermission;
import com.czg.market.dto.MkDrainageConfigDTO;
import com.czg.market.service.MkDrainageConfigService;
import com.czg.market.vo.MkDrainageConfigVO;
import com.czg.resp.CzgResult;
import com.czg.sa.StpKit;
import jakarta.annotation.Resource;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

/**
 * 私域引流配置
 * @author Administrator
 */
@RestController
@RequestMapping("/user/drainageConfig")
public class UDrainageConfigController {

    @Resource
    private MkDrainageConfigService service;

    /**
     * 配置信息获取
     * 权限标识: activate:list
     */
    @GetMapping
    public CzgResult<MkDrainageConfigVO> detail(@RequestParam Long shopId) {
        return CzgResult.success(service.detail(shopId));
    }






}
