You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
288 B
19 lines
288 B
import {myRequest} from './http.js';
|
|
|
|
// 登录
|
|
export function login (config) {
|
|
return myRequest({
|
|
url:'/login',
|
|
method:'post',
|
|
data:config
|
|
});
|
|
}
|
|
|
|
// 授权绑定
|
|
export function deviceBind (config) {
|
|
return myRequest({
|
|
url:'/deviceBind',
|
|
method:'post',
|
|
data:config
|
|
});
|
|
}
|