mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-07-02 23:16:49 +08:00
21 lines
453 B
Plaintext
21 lines
453 B
Plaintext
<script>
|
|
|
|
window.user = {
|
|
id: '{{ auth_user.id }}',
|
|
name: '{{ auth_user.name }}',
|
|
avatar: '{{ auth_user.avatar }}',
|
|
locked: '{{ auth_user.locked }}',
|
|
vip: '{{ auth_user.vip }}'
|
|
};
|
|
|
|
window.im = {
|
|
title: '{{ im_info.title }}',
|
|
cs: {
|
|
enabled: '{{ im_info.cs.enabled }}'
|
|
},
|
|
websocket: {
|
|
url: '{{ im_info.websocket.url }}'
|
|
}
|
|
};
|
|
|
|
</script> |