package com.sdtool.common.datas;

/**
 * Created by jlutt on 2020-07-28
 *
 * @author jlutt
 */
public final class ERPHeader {

    public static final String HTTPHEADER_SUPPLIER = "X-ERP-Supplier-Code";

    public static final String HTTPHEADER_DATASOURCE = "X-ERP-DataSource-Id";

    public static final String HTTPHEADER_USERFROM = "X-ERP-User-From";

    /**
     * PC端商城/客户三方账号 等 默认header
     * 商城网站给B端旅行社使用，使用三方账号注册、登录、报价、查单
     * PC端商城给前端一个单独的域名，在nginx反向代理中设置
     * proxy_set_header X-MALL-DataSource-Id erp001;
     * proxy_set_header X-MALL-Supplier-Code 1000;
     */
    public static final String MALLHEADER_SUPPLIER = "X-MALL-Supplier-Code";

    public static final String MALLHEADER_DATASOURCE = "X-MALL-DataSource-Id";


    public static final String DNYHEADER_SUPPLIER = "X-DNY-Supplier-Code";

    public static final String DNYHEADER_DATASOURCE = "X-DNY-DataSource-Id";

    /**
     * 支付平台代码
     */
    public static final String HTTPHEADER_PAY_PLATFORM = "X-ERP-Pay-Platform";
}
