比较提交
2 次代码提交
ea588a8f53
...
cbad52a7a3
| 作者 | SHA1 | 提交日期 | |
|---|---|---|---|
|
|
cbad52a7a3 | ||
|
|
790acf1fa9 |
@ -72,7 +72,7 @@ async function login(userId, password = '123456') {
|
||||
const res = await fetch(`${DEMO_AUTH_URL}/login`, {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({ appId: 'ak_demo_chat', userId, password }),
|
||||
body: JSON.stringify({ appKey: 'ak_demo_chat', userId, password }),
|
||||
})
|
||||
const json = await res.json()
|
||||
if (json.code !== 200) throw new Error(`Login failed: ${json.message}`)
|
||||
|
||||
正在加载...
在新工单中引用
屏蔽一个用户