会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小贺吖
博客园
首页
新随笔
联系
订阅
管理
2025年2月27日
uni-app之Harmony OS NEXT UTS跳转微信小程序
摘要: 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)
2025年2月18日
UTS获取mac地址
摘要: 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)
uni-app之Harmony OS NEXT 获取设备网络IP
摘要: import { connection } from '@kit.NetworkKit';import { BusinessError } from '@kit.BasicServicesKit';import { hilog } from '@kit.PerformanceAnalysisKit'
阅读全文
posted @ 2025-02-18 17:31 小贺吖
阅读(86)
评论(0)
推荐(0)
2023年6月13日
uni-app请求封装
摘要: 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)
公告