Constants.java 1.76 KB
package com.drp.mobliemall.config;

import com.drp.mobliemall.utils.PropertiesUtils;

/**
 * 得到接口
 */
public interface Constants {

    String API_APP_KEY = PropertiesUtils.getSysProperties().getProperty("API_APP_KEY");
    String API_SECRET = PropertiesUtils.getSysProperties().getProperty("API_SECRET");
    String API_BASE_URL = PropertiesUtils.getSysProperties().getProperty("API_BASE_URL");
    String GET_APP_VERSION_URL = PropertiesUtils.getSysProperties().getProperty("GET_APP_VERSION_URL");
    String LOGIN_URL = PropertiesUtils.getSysProperties().getProperty("LOGIN_URL");
    String ALIPAY_PARTNER = PropertiesUtils.getSysProperties().getProperty("ALIPAY_PARTNER");
    String ALIPAY_SELLER_ID = PropertiesUtils.getSysProperties().getProperty("ALIPAY_SELLER_ID");
    String ALIPAY_RSA_PRIVATE = PropertiesUtils.getSysProperties().getProperty("ALIPAY_RSA_PRIVATE");
    String ALIPAY_RSA_PUBLIC = PropertiesUtils.getSysProperties().getProperty("ALIPAY_RSA_PUBLIC");
    String TENANT_NUMBER = PropertiesUtils.getSysProperties().getProperty("TENANT_NUMBER");
    String STOREID = PropertiesUtils.getSysProperties().getProperty("STOREID");
    String ALIPAY_SERVICE_NOTIFY = PropertiesUtils.getSysProperties().getProperty("ALIPAY_SERVICE_NOTIFY");
    String WEBVIEW_BASE_URL = PropertiesUtils.getSysProperties().getProperty("WEBVIEW_BASE_URL");
    String WEBVIEW_NEWS_URL = PropertiesUtils.getSysProperties().getProperty("WEBVIEW_NEWS_URL");
    public static boolean ENABLE_DEBUG = true;

    String APP_CACAHE_DIRNAME = "/webcache";


    int REQUESTCODE_PICK_FROM_CAMERA = 0x71;
    int REQUESTCODE_PICK_FROM_FILE = 0x72;
    int REQUESTCODE_CROP_FROM_CAMERA = 0x73;


    Long SMS_WAIT_TIME = Long.parseLong(PropertiesUtils.getSysProperties().getProperty("SMS_WAIT_TIME"));

}