package com.nuvole.constants;
|
|
/**
|
* 系统配置常量
|
*
|
* @Author: lc
|
* @Date: 2019/7/30 19:22
|
*/
|
public class PropertiesConstants {
|
|
//服务地址配置
|
/**
|
* 后台接口服务地址
|
*/
|
public static final String STQ_SERVER = "https://yqzx.jinmingyuan.com";
|
// public static final String STQ_SERVER = "https://daguogongjiang.top";
|
/**
|
* h5服务地址
|
*/
|
public static final String STQ_SERVER_WECHAT = "https://yqzx.jinmingyuan.com";
|
// public static final String STQ_SERVER_WECHAT = "https://daguogongjiang.top";
|
/**
|
* 商户模块服务地址
|
*/
|
public static final String STQ_SERVER_MERCHANT = STQ_SERVER + "/service-merchant";
|
/**
|
* 商城模块服务地址
|
*/
|
public static final String STQ_SERVER_SHOP = STQ_SERVER + "/service-shop";
|
|
/**
|
* 1 使用sftp
|
* 2 使用移动云oss
|
*/
|
public static final int UPLOAD_MODEL = 1;
|
public static final int KJ_PAY_WAY = 1; //快捷支付渠道【1:通联云商通 2:农行快捷支付】
|
/**
|
* 静态资源服务地址(ftp)
|
*/
|
public static String FILE_SERVER = null;
|
|
|
// public static final String FILE_SERVER = "https://daguogongjiang.top/sftp"; //公司地址
|
// public static final String FILE_SERVER = "http://172.16.2.77/f-static"; //正式环境
|
|
//公众平台配置
|
/**
|
* 小程序appId
|
*/
|
// public static final String WX_APP_APPID = "wx044ba657d536fa6a";
|
// 振兴消费-小程序
|
// public static final String WX_APP_APPID = "wx22159c42a5805166";
|
//数字化生态圈
|
public static final String WX_APP_APPID = "wxfc579973fbdde096";
|
//京源云 AppSecret
|
// public static final String WX_APP_APPID = "wxf6818b61cdbb80e4";
|
|
/**
|
* 小程序secret 振兴消费
|
*/
|
// public static final String WX_APP_SECRET = "2635f74b77b0cd1057cb8266e5c2606d";
|
// 小程序secret 数字化生态圈
|
public static final String WX_APP_SECRET = "d5d7d0438028b8c29890784344df8216";
|
//小程序secret 京源云
|
// public static final String WX_APP_SECRET = "d54f086bce09d291605dc57441fa4908";
|
|
|
/**
|
* 微信服务号appId
|
*/
|
// public static final String WX_WECHAT_APPID = "wx4e2cf88d5ffa708e";
|
// 公司H5公众号
|
public static final String WX_WECHAT_APPID = "wxad8cc511da676bd4";
|
//H5公众号 京源云
|
// public static final String WX_WECHAT_APPID = "wxd163440fc91fd9af";
|
//时工 小程序
|
// public static final String WX_WECHAT_APPID = "wx22159c42a5805166";
|
|
/**
|
* 微信服务号secret
|
*/
|
// public static final String WX_WECHAT_SECRET = "dc3594f91ab86def1277133c45bd2584";
|
// 公司H5公众号
|
public static final String WX_WECHAT_SECRET = "d4f742cf77b1534055932a1d970cb8ce";
|
//H5公众号 京源云
|
// public static final String WX_WECHAT_SECRET = "d54f086bce09d291605dc57441fa4908";
|
|
/**
|
* 微信服务商商户号
|
*/
|
|
public static final String WX_SERVER_MCHID = "1633049026";
|
// 京源云 商户号
|
// public static final String WX_SERVER_MCHID = "1648271607";
|
/**
|
* 微信小程序支付平台的子商户id
|
*/
|
public static final String WX_MINIPAY_PLATFORM_SUB_APPID = "1633682244";
|
// 京源云
|
// public static final String WX_MINIPAY_PLATFORM_SUB_APPID = null;
|
|
/**
|
* 微信服务商 secret
|
*/
|
public static final String WX_SERVER_SECRET = "SKC2E1QGBRVFL7T35MYUN49IA06PZXOH";
|
// // 京源云 secret
|
// public static final String WX_SERVER_SECRET = "6Lk7s4QWqXr9Dv1OzIJlEM2aA5YbupKS";
|
|
|
//支付配置
|
public static final int PAY_WAY = 3; //商城支付渠道【1:通联收银宝 2:通联云商通 新增3 纯微信支付 4 中金支付】
|
|
static {
|
if (UPLOAD_MODEL == 1) {
|
FILE_SERVER = "https://yqzx.jinmingyuan.com/file"; //公司地址
|
} else if (PropertiesConstants.UPLOAD_MODEL == 2) {
|
FILE_SERVER = "https://ecosphere.eos.zhengzhou-4.cmecloud.cn";
|
}
|
}
|
public static final int PAY_TYPE = 2; //支付读取参数【1.配置文件读取(固定一个) 2.表里加载(按机构查询)】
|
public static final String TL_PAY_APPID = "00143623"; //appid
|
public static final String TL_PAY_K = "123456"; //秘钥
|
public static final String TL_PAY_ORGCODE = "55165106012TWGR"; //机构号(平台唯一标识)
|
|
//客管系统
|
/**
|
* 会员信息读取类型【1.客管系统 2.本系统(导入方式)】
|
*/
|
public static final int MEMBER_READ_TYPE = 2;
|
|
/**
|
* h5服务地址
|
*/
|
public static final String WX_SERVER_WECHAT = "https://api.mch.weixin.qq.com/pay/unifiedorder";
|
/**
|
* 微信 付款码支付
|
*/
|
public static final String WX_SERVER_MICROPAY = "https://api.mch.weixin.qq.com/pay/micropay";
|
|
/**
|
* 微信 订单查询
|
*/
|
public static final String WX_SERVER_ORDERQUERY = "https://api.mch.weixin.qq.com/pay/orderquery";
|
|
/**
|
* 付款码查询openid
|
*/
|
public static final String WX_SERVER_AUTHCODE2OPENID = "https://api.mch.weixin.qq.com/tools/authcodetoopenid";
|
|
/**
|
* 通联收银宝通道code
|
*/
|
public static final String CHANNEL_CODE_SYB = "allinPay";
|
/**
|
* 支付宝微信直连通道code
|
*/
|
public static final String CHANNEL_CODE_DIRECTPAY = "directPay";
|
|
/**
|
* 进入店铺线下扫码付汇总计算Key
|
*/
|
public static String JOB_SHOP_STATIS_SCANORDER_KEY = "JOB_SHOP_STATIS_SCANORDER_KEY";
|
}
|