package com.njcn.service.tiansu;

import com.njcn.pojo.tiansu.Tenant;

/**
 * @author hongawen
 * @Date: 2018/7/19 13:41
 */
public interface TenantService {
    //保存组合信息和永久授权码
    void saveTenant(String suiteId, String corpId, String suiteTicket, String permanentCode, String accessToken);

    //根据服务商ID和租户ID查询accessToken
    Tenant selectOne(String suiteId, String corpId);
}
