登录接口格式

This commit is contained in:
2022-07-13 14:34:28 +08:00
parent 9332d9304a
commit c1f8d1cdba
2 changed files with 49 additions and 55 deletions

View File

@@ -1,5 +1,11 @@
import {post} from '@js/http.js'
/** 登陆 */
export const screenLogin = (user, password) => post('api/bigScreenScreen/login', {
user: user,
password: password
})
export const screenZK = (id, cid) => post('api/bigScreenScreen/zk', {
accountId: id,
center_id: cid