比较提交
没有共同的提交。cbad52a7a394fd8b07c5a7e00bcd304a5378d315 和 ea588a8f536e45ee4d9a486de9abeedfc1edadb6 的历史完全不同。
cbad52a7a3
...
ea588a8f53
@ -72,7 +72,7 @@ async function login(userId, password = '123456') {
|
|||||||
const res = await fetch(`${DEMO_AUTH_URL}/login`, {
|
const res = await fetch(`${DEMO_AUTH_URL}/login`, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-Type': 'application/json' },
|
headers: { 'Content-Type': 'application/json' },
|
||||||
body: JSON.stringify({ appKey: 'ak_demo_chat', userId, password }),
|
body: JSON.stringify({ appId: 'ak_demo_chat', userId, password }),
|
||||||
})
|
})
|
||||||
const json = await res.json()
|
const json = await res.json()
|
||||||
if (json.code !== 200) throw new Error(`Login failed: ${json.message}`)
|
if (json.code !== 200) throw new Error(`Login failed: ${json.message}`)
|
||||||
|
|||||||
正在加载...
在新工单中引用
屏蔽一个用户