package com.sqx.modules.app.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.sqx.common.utils.Result;
import com.sqx.modules.app.entity.VipDetails;

public interface VipDetailsService extends IService<VipDetails> {
    /**
     * 查询会员的详情信息
     *
     * @return
     */
    Result selectVipDetails();

    /**
     * 添加会员的详情信息
     *
     * @return
     */
    Result insertVipDetails(VipDetails vipDetails);

    Result giveUserVip(Long userId, Integer vipType, Integer num);

    Result cancelUserVip(Long userId, Integer vipType);
}
