package com.emato.ich.api;

import com.emato.ich.contant.ICSPConstant;

/**
 * ICSP-SERVER 接口地址
 */
public class ICSPApi {

    /**
     * 用户投递码 预下单
     */
    public static final String DELIVERY_CODE_PREPARE = ICSPConstant.ICSP_SERVICE + "/order/user/prepare";
    /**
     * 用户投递码 确认下单
     */
    public static final String DELIVERY_CODE_CONFIRM = ICSPConstant.ICSP_SERVICE + "/order/user/confirm";
    /**
     * 寄送订单运单号/取货码取货接口
     */
    public static final String TACK_BY_EXPRESS_NO = ICSPConstant.ICSP_SERVICE + "/order/collect/pick/up/expressSendOrder";

    /**
     * 查询寄送订单接口
     */
    public static final String GET_EXPRESS_SEND_ORDER = ICSPConstant.ICSP_SERVICE + "/order/deliverer/getExpressSendOrder";

    /**
     * icsp支付接口地址
     */
    public static final String MICRO_PAY = ICSPConstant.ICSP_SERVICE + "/api/pay/microPay";

    /**
     * icsp支付接口地址
     */
    public static final String DELIVERER_PAY = ICSPConstant.ICSP_SERVICE + "/deliverer/delivererPay";


    /**
     * 投递员登录接口
     */
    public static final String LOGIN = ICSPConstant.ICSP_SERVICE + "/deliverer/login";
    /**
     * 获取柜子信息接口
     */
    public static final String GET_CABINET_INFO = ICSPConstant.ICSP_SERVICE + "/cab/cabInfo/available";
    /**
     * MQ预下单接口
     */
    public static final String MQ_PREPARED_ORDER = ICSPConstant.ICSP_SERVICE + "/icsp-client/od/order/prepared/%s";
    /**
     * HTTP预下单
     */
    public static final String PREPARED_ORDER = ICSPConstant.ICSP_SERVICE + "/order/deliverer/prepare";
    /**
     * 下单接口
     */
    public static final String DELIVERER_ORDER = ICSPConstant.ICSP_SERVICE + "/order/deliverer/confirm";
    /**
     * 取件接口
     */
    public static final String TAKE_PARCEL = ICSPConstant.ICSP_SERVICE + "/order/collect/pickUpTakeObject";
    /**
     * 获取配置
     */
    public static final String GET_SYSTEM_CONFIG = ICSPConstant.ICSP_SERVICE + "/config/cabinet/get";
    /**
     * 获取用户手机号
     */
    public static final String GET_USER_PHONE_NUMBER = ICSPConstant.ICSP_SERVICE + "/deliverer/queryOrder";
    /**
     * 获取更新apk信息
     */
    public static final String GET_UPDATE_PATH = ICSPConstant.ICSP_SERVICE + "/config/cabinet/upgradeByXUpdate";

}
