package com.trade.service.thirdparty.sop.util;

import com.trade.service.contract.config.SOPConfigHolder;

/**
 * SOP对接常量
 */
public class SOPConstantUtil {

    // 请求地址
    public static String SOP_URL_PREFIX;
    static {
        SOP_URL_PREFIX = SOPConfigHolder.getUrlPrefix();
    }
    /* 用户标识调用sop系统的用户身份 */
    public final static String SOP_CUSTOMER_ID = "trade_platform";
    /* 接口编号 企业详细信息查询 */
    public final static String SOP_TRANS_CODE_ENTERPRISE_DETAIL = "sop.enterprise.detail.query";
    public final static String SOP_TRANS_CODE_ENTERPRISE_RISK_INVESTIGATION = "sop.enterprise.riskInvestigation";
    public final static String SOP_TRANS_CODE_MANAGEMENT_CREDIT_EXECUTION = "sop.enterprise.dongjiangaoSXCheck";
    public final static String SOP_TRANS_CODE_MANAGEMENT_CONSUMPTION_LIMIT = "sop.enterprise.dongjiangaoSumptuaryCheck";
    public final static String SOP_TRANS_CODE_QUERY_JUDGMENT_DOCUMENTS = "sop.enterprise.judgmentDocuments";
    /* 企业详细信息查询 （包括工商信息、裁判文书、法院公告等） */
    public final static String SOP_API_ENTERPRISE_DETAIL = SOP_URL_PREFIX + "/api/enterprise/detailInfo";
    /* 企业风险信息查询 */
    public final static String SOP_API_ENTERPRISE_RISK_INVESTIGATION = SOP_URL_PREFIX
            + "/qichacha/comprehensiveRiskInvestigation";
    /* 董监高失信被执行查询 */
    public final static String SOP_API_MANAGEMENT_CREDIT_EXECUTION = SOP_URL_PREFIX + "/qichacha/dongjiangaoSXCheck";
    public final static String SOP_API_MANAGEMENT_CONSUMPTION_LIMIT = SOP_URL_PREFIX
            + "/qichacha/dongjiangaoSumptuaryCheck";
    /* 企业裁判文书查询 */
    public final static String SOP_API_QUERY_JUDGMENT_DOCUMENTS = SOP_URL_PREFIX + "/qichacha/judgmentDocuments";
}
