package com.cool.store.service;

import com.cool.store.context.LoginUserInfo;
import com.cool.store.request.AddSignFranchiseRequest;
import com.cool.store.response.AddSignFranchiseResponse;
import com.cool.store.response.ResponseResult;

public interface SignFranchiseService {
    /**
     * 提交加盟合同签约
     *
     * @param request
     * @return
     */
    ResponseResult submitSignFranchise(AddSignFranchiseRequest request, LoginUserInfo user);


    AddSignFranchiseResponse getSignFranchise(Long shopId);

    /**
     * 加盟合同退回后重新缴费
     * @param shopId
     * @return
     */
    Boolean rePay(Long shopId);

}
