Files
h5-meike/common/config.js
T
2026-08-18 09:22:32 +08:00

18 lines
849 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.
// xuchao: 全局配置 —— 环境地址、开发模式开关
export default {
// 后端测试环境地址
apiBaseUrl: 'https://dscp-uat.hn12301.net',
// 开发模式:true = 假登录 + 假支付(本地调试用);后端微信接口就绪后改为 false 接真实流程
devMode: false,
// 产品名
appName: '质惠游',
// 测试手机号(测试环境已有数据的账号)
testPhones: ['17763797832', '18684839400', '18710146266', '15367920401'],
// 微信公众号 appid —— 微信 JSAPI 支付 appId 兜底(prepayWx 返回为空时使用)
wxAppid: 'wxccfb072fa3ff58fa',
// 公众号网页授权 appid(OAuth 换 openId 用,与支付 appid 可能不同)
oauthAppid: 'wxccfb072fa3ff58fa',
// code 换 openId 接口(公众号授权回调 code → openId)
oauthCode2OpenIdUrl: 'h5-api/auth/oauth2MeiKe'
}