1
0
forked from dyf/APP

添加蓝牙通讯握手

This commit is contained in:
liub
2025-07-29 09:34:15 +08:00
parent 0ac0d1998a
commit 3c0bf2f770
12 changed files with 7993 additions and 10376 deletions

View File

@ -1,4 +1,4 @@
const BASE_URL = 'http://192.168.2.34:8000';
const BASE_URL = 'http://192.168.110.54:8000';
const request = (options) => {
console.log("options"+JSON.stringify(options))
return new Promise((resolve, reject) => {
@ -19,9 +19,11 @@ const request = (options) => {
header: options.header || {},
timeout: 10000,
success: (res) => {
console.log("请求成功",res);
resolve(res.data);
},
fail: (err) => {
console.log("请求失败",err);
reject(err);
}
};