update:新增机构扫码登录页

This commit is contained in:
2026-07-31 09:42:59 +08:00
parent 970a9874b4
commit f34800798d
5 changed files with 200 additions and 9 deletions
+7 -1
View File
@@ -8,7 +8,7 @@ try {
switch (envVersion) {
case "develop": // 开发版
// BASE_URL = "http://192.168.1.2:8000/api/shoot";
// BASE_URL = "http://192.168.1.30:8000/api/shoot";
BASE_URL = "https://apitest.shelingxingqiu.com/api/shoot";
break;
case "trial": // 体验版
@@ -233,6 +233,12 @@ export const checkUserBindAPI = async (code) => {
});
};
export const tempBindOrgAPI = (scene) => {
return request("POST", "/user/org/device/tempBind", {
scene,
});
};
export const bindDeviceAPI = (device) => {
return request("POST", "/user/device/bindDevice", {
device,