修复客户平台图标加载

This commit is contained in:
winchen
2026-06-30 14:54:32 +07:00
parent 4d9ff68220
commit b97c23a241
9 changed files with 214 additions and 49 deletions
+17 -11
View File
@@ -1,11 +1,17 @@
window.JC_WEB_IM_CONFIG = {
adminServer: 'http://winchen.ezpay.asia:8024',
appServer: 'http://winchen.ezpay.asia:18888',
platformConfigApi: '/api/platform_config.php',
registerConfigApi: 'http://winchen.ezpay.asia:8024/api/register-config',
imServerHost: 'winchen.ezpay.asia',
imRoutePort: 18000,
useWss: false,
wsPath: '/ws',
sdkMode: 'http'
};
(() => {
const protocol = window.location.protocol || 'http:';
const host = window.location.hostname || '127.0.0.1';
window.JC_WEB_IM_CONFIG = {
adminServer: `${protocol}//${host}:8100`,
appServer: `${protocol}//${host}:8888`,
platformConfigApi: '/api/platform_config.php',
registerConfigApi: `${protocol}//${host}:8100/api/register-config`,
registerPhoneExistsApi: `${protocol}//${host}:8100/api/register-phone-exists`,
imServerHost: host,
imRoutePort: 80,
useWss: false,
wsPath: '/ws',
sdkMode: 'http'
};
})();