package com.qnfhq.modules.c2c.service;

import com.qnfhq.common.service.BaseService;
import com.qnfhq.common.service.CrudService;
import com.qnfhq.modules.c2c.dto.C2cMerchantApplyDTO;
import com.qnfhq.modules.c2c.dto.C2cMerchantDTO;
import com.qnfhq.modules.c2c.entity.C2cMerchantEntity;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * C2C认证商家表
 *
 * @author yelz 30262728@qq.com
 * @since 1.0.0 2025-11-17
 */
public interface C2cMerchantService extends BaseService<C2cMerchantEntity> {

    C2cMerchantEntity getMerchantEntity(long userId);

    public Map<String, Object> checkApply(BigDecimal margin, long loginId);

    public void apply(C2cMerchantApplyDTO appUserMerchant, long loginId);



}