shish 4 år sedan
förälder
incheckning
946a2e031e
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6 0
      hdApp/src/api/common/index.js

+ 6 - 0
hdApp/src/api/common/index.js

@@ -46,3 +46,9 @@ export const initSocket = async clientId => {
 
 	return https.post(`/ws/bind?token=${st}`, { clientId: clientId });
 };
+
+//app登陆
+export const appLogin = data => https.get("/auth/app-login", data);
+
+//app重新获取登陆信息
+export const hasTokenAutoLogin = data => https.get("/admin/has-token-auto-login", data);