jiuyiUniapp/jiuyi2/common/js/config.js

35 lines
655 B
JavaScript
Raw Normal View History

2024-12-18 15:46:27 +08:00
// 配置
const config = {
// 接口域名
2025-01-02 01:01:23 +08:00
// #ifdef H5
2024-12-31 17:07:01 +08:00
host: 'http://localhost:5173',
2025-01-02 01:01:23 +08:00
// #endif
// #ifndef H5
2025-02-03 20:36:02 +08:00
// host: 'http://91f.xyz:8080',
2025-02-04 20:44:28 +08:00
// host: 'http://192.168.0.110:8080',
2025-02-04 22:53:12 +08:00
host: 'http://192.168.0.105:8080',
// host: 'http://192.168.0.102:8080',
2025-01-02 01:01:23 +08:00
// #endif
2025-01-19 22:56:45 +08:00
// 支付方式配置
payType: {
score: {
name: '积分',
2025-02-03 20:36:02 +08:00
icon: '/static/score.png',
2025-01-19 22:56:45 +08:00
},
balance: {
name: '余额',
2025-02-03 20:36:02 +08:00
icon: '/static/balance.png',
2025-01-19 22:56:45 +08:00
},
},
2024-12-18 15:46:27 +08:00
// 腾讯im聊天
TChat: {
// appid
2025-01-05 20:06:22 +08:00
SDKAppID: '1600067241',
2024-12-18 15:46:27 +08:00
// 验签
2025-01-05 20:06:22 +08:00
secretKey: '955ac1c071050fe1ed0be74470409495cfb4faa5faf7c88ea58b585890433708',
2024-12-18 15:46:27 +08:00
//
userSig: '',
},
}
export default config