package com.cyksj.service.mange;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cyksj.model.entity.GroupsTrips;
import com.cyksj.model.request.ReplaceTripsAccountReq;

/**
 * @author chan
 * @date 2022/9/27 6:27 PM
 */
public interface CmsGroupService extends IService<GroupsTrips> {

    GroupsTrips issuance(GroupsTrips groups, String verifyCodes, Boolean isReover);

    void close(Long groupId);

    void setAccount(GroupsTrips groupsTrips) throws Exception;

    void replaceTripsAccount(ReplaceTripsAccountReq req);

	Integer getAvailableRelation(Long goodsId, Long skuId);

    void sendChangeAccountMsg(Long groupsId, Long goodsId, String account);
}
