oak-pay-business/lib/utils/payClazz/WechatPay/index.js

8 lines
441 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const WechatPay_1 = tslib_1.__importDefault(require("./WechatPay"));
const WechatPay_debug_1 = tslib_1.__importDefault(require("./WechatPay.debug"));
// 微信支付没有沙箱环境所以staging模式也只能用debug
exports.default = process.env.NODE_ENV === 'production' ? WechatPay_1.default : WechatPay_debug_1.default;