react-app-shell
Version:
react打包脚本和example, 这里的版本请忽略
69 lines (53 loc) • 968 B
JavaScript
/**
* 微信支付
* @type {string}
*/
export const PAY_METHOD_WECHAT = 'wechat';
/**
* 支付宝支付
* @type {string}
*/
export const PAY_METHOD_ALIPAY = 'alipay';
/**
* 订单未支付
* @type {string}
*/
export const ORDER_NOT_PAID = 'ORDER_NOT_PAID';
/**
* 查询次数太多
* @type {string}
*/
export const PAY_IO_ERROR = 'PAY_IO_ERROR';
/**
* 订单不存在
* @type {string}
*/
export const ORDER_NOT_EXIST = 'ORDER_NOT_EXIST';
/**
* 订单已支付
* @type {string}
*/
export const ORDER_ALREADY_PAID = 'ORDER_ALREADY_PAID';
/**
* 支付类型--二维码
* @type {string}
*/
export const PAY_TYPE_QRCODE = 'QRCODE';
/**
* 支付渠道
*/
export const CHANNEL_CONFIG = {
wechat: {
enable: true,
type: 'qrcode'
},
alipay: {
enable: true,
type: 'qrcode'
}
};
/**
* 微信公众号平台支付标记
* @type {string}
*/
export const WX_MP_AUTHORIZED = 'WX_MP_AUTHORIZED';