摘要: import * as wxopensdk from '@tencent/wechat_open_sdk'; let APP_ID = ""for (let v of bundleManager.getBundleInfoForSelfSync( bundleManager.BundleFlag.G 阅读全文
posted @ 2025-02-27 16:49 小贺吖 阅读(97) 评论(0) 推荐(0)
摘要: import wifiManager from '@ohos.wifiManager';let macAddress : string wifiManager.getLinkedInfo().then(data => {console.info(data.macAddress)}).catch((e 阅读全文
posted @ 2025-02-18 17:33 小贺吖 阅读(21) 评论(0) 推荐(0)
摘要: import { connection } from '@kit.NetworkKit';import { BusinessError } from '@kit.BasicServicesKit';import { hilog } from '@kit.PerformanceAnalysisKit' 阅读全文
posted @ 2025-02-18 17:31 小贺吖 阅读(86) 评论(0) 推荐(0)
摘要: 1.http.js //你的请求地址(线上或线下) export const BASE_URL = 'http://xxx.xxx.xx.xxx:xxxx/'; export const http = (options) => { return new Promise((resolve, rejec 阅读全文
posted @ 2023-06-13 17:49 小贺吖 阅读(116) 评论(0) 推荐(0)