doum
2026-06-16 77094dd01f0c6ff59b4fb4fa1105addf34b2398c
h5/utils/config.js
@@ -1,8 +1,23 @@
 // export const baseUrl = 'gateway_interface/'
//export const baseUrl = 'http://localhost:10010/gateway_interface/'
export const baseUrl = 'https://zhcg.fnwtzx.com/gateway_interface/'
export const baseUrl = 'http://localhost:10010/'
//export const baseUrl = 'https://zhcg.fnwtzx.com/gateway_interface/'
//export const baseUrl = 'https://dmtest.ahapp.net/gateway_interface/'
/** 微信公众号 AppId(OAuth 跳转用,生产环境保持真实配置) */
export const wxAppId = 'wx15dfdae9a19177f3'
/** OAuth 回调地址,需与公众号后台配置一致 */
export const wxRedirectUri = 'https://zhcg.fnwtzx.com/fn_h5'
/**
 * 开发环境微信 OAuth 模拟(跳过微信浏览器限制)
 * 生产构建/上线前务必设置 enabled: false
 */
export const devWechatMock = {
  enabled: true,
  openId: 'dev_h5_openid_merchant_001',
  mockCode: 'DEV_MOCK'
}
export const uploadAvatar = `${baseUrl}visitsAdmin/cloudService/web/public/uploadFtp.do`
export const uploadUrl = `${baseUrl}visitsAdmin/cloudService/public/uploadBatch`