new-cashier/jeepay-ui-uapp-cashier/config/appConfig.js

49 lines
1.2 KiB
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.

const appConfig = {
// 项目名称
appName: '收银台',
// token取值key
tokenKey: 'tk',
// token值
tokenValue: '',
// channelUserId
channelUserId: '',
// channelUserId
channelUniId: '',
// 定义页面类型枚举值: 微信小程序 - wechatLite、 支付宝小程序 alipayLite、 微信H5 wechatH5, 支付宝H5 alipayH5
PAGE_TYPE_ENUM: {
WECHAT_LITE: 'wechatLite',
ALIPAY_LITE: 'alipayLite',
WECHAT_H5: 'wechatH5',
ALIPAY_H5: 'alipayH5',
YSFPAY_H5: 'ysfpayH5',
OTHER_H5: 'otherH5',
},
// 当前页面类型: 微信小程序 - wechatLite、 支付宝小程序 alipayLite、 微信H5 wechatH5, 支付宝H5 alipayH5
currentPageType: '',
// 场景值,一般存储小程序被打开的场景值
scene: '',
// 环境变量相关
env: {},
// ISV小程序设置为 0, 商户自己编译的小程序请配置为: 1
isUseSubmchAccount: 0,
// 会员的base url
memberBaseUrl: '',
// 是否开启红包
redPacketIsOpen: false,
redbalance:0,
marketingConfig: {},
video:null,
payH5:{}
}
export default appConfig;