MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / loginByToken

Function loginByToken

src/services/login.js:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 * @param {*} siteCode
28 */
29export async function loginByToken() {
30 return request(`${severUrl}/auth/check`, {
31 method: 'get'
32 });
33}
34
35export async function loginByAdmin(loginName, passWord) {
36 return request(`${severUrl}/stage/user/login?loginName=${loginName}&passWord=${passWord}`, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected