package com.czg.controller.user;

import com.czg.market.service.MkDrainageConfigService;
import com.czg.market.vo.MkDrainageConfigVO;
import com.czg.resp.CzgResult;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 用户端/私域引流配置
 * @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));
    }






}
