×
思维导图备注
微信小程序官方开发文档(全) - 20210305
首页
小程序
下载
阅读记录
书签管理
我的书签
添加书签
移除书签
编辑文档
框架
来源 1
浏览
1809
扫码
分享
2021-03-05 21:32:05
小程序框架参考文档
上一篇:
下一篇:
扩展能力
工具类库
国际化
Gulp 插件配置文档
快速入门
接口文档
国密算法
API Promise化
瘦身工具
threejs-miniprogram
lottie-miniprogram
TypeScript 支持
服务平台
API
能力简介
插件服务
微信同声传译
OCR 支持
扩展组件
vtabs
index-list
emoji
grid
sticky
wxml-to-canvas
select-text
barrage
file-uploader
video-swiper
tabs
recycle-view
框架扩展
mobx-miniprogram-bindings
computed
WeUI组件库
其他组件
快速上手
基础组件
Icon
Badge
Gallery
Loading
导航组件
Navigation
Tabbar
搜索组件
Searchbar
操作反馈
ActionSheet
Toptips
Msg
Dialog
HalfScreenDialog
表单组件
Slideview
Checkbox-group
Uploader
Form
Cells
Cell
FormPage
多端开发 kbone
框架
小程序配置
页面配置
sitemap 配置
全局配置
框架接口
基础功能
wx
wx.env
定时器
setTimeout
setInterval
clearInterval
clearTimeout
console
console.warn
console.groupEnd
console.debug
console.group
console.info
console.error
console.log
小程序 App
App
getApp
模块化
requirePlugin
require
module
exports
requireMiniProgram
自定义组件
Behavior
Component
页面
Page
getCurrentPages
WXS 语法参考
模块
注释
基础类库
语句
数据类型
运算符
变量
WXML 语法参考
列表渲染
模板
条件渲染
引用
数据绑定
场景值
指南
安全指引
实时日志
配置小程序
sitemap 配置
目录结构
交易组件
标准版交易组件及开放接口
服务端接口
SKU接口(修改需重新上架商品)
添加SKU
获取库存
更新SKU
批量添加SKU
批量获取SKU信息
更新库存
删除SKU
获取SKU信息
更新SKU价格
SPU接口(修改需重新上架商品)
商品接口使用场景指引
下架商品
更新商品
获取商品列表
上架商品
搜索商品
删除商品
获取商品
添加商品
优惠券接口
创建优惠券
获取优惠券信息
更新优惠券
更新优惠券状态
发放优惠券
获取优惠券列表
店铺接口
获取基本信息
开店接口
提交小商店基础信息
异步状态查询
上传图片
接入指南
注册小商店账号
提交支付资质
接入商品前必需接口
获取品牌列表
获取类目详情
获取商品分类
获取运费模板
服务市场接口
接入服务市场必读
获取用户购买的服务订单列表
登录验证
装修服务
启用/停用装修服务
装修体验版
获取用户购买的在有效期内的服务列表
物流接口
订单发货
获取快递公司列表
订单接口
获取订单列表
搜索订单
获取订单详情
直播接口
返回码
客服接口
标准版交易组件介绍
组件接口
标准版交易组件接入指引
自定义版交易组件及开放接口
自定义版交易组件接入指引
事件回调
商家接入回调
商品审核回调
品牌审核回调
类目审核回调
事件回调接入流程
订单更新回调
服务端接口
物流接口
获取快递公司列表
订单发货
订单确认收货
返回码
SPU接口
下架商品
获取商品
获取商品列表
添加商品
商品接口使用场景指引
上架商品
更新商品
删除商品
免审更新商品(部分字段)
售后接口
创建售后
更新售后
获取售后
订单接口
同步订单支付结果
检查场景值是否在支付校验范围内
生成订单并获取ticket
获取订单
申请接入接口
查询接入审核结果
接入申请/变更
接入商品前必需接口
上传品牌信息
获取类目详情
上传类目资质
上传图片
获取小程序提交过的入驻资质信息
自定义版交易组件介绍
接入视频号指引
交易组件介绍
交易组件运营规范
非个人主体 开放类目
非个人主体 开放类目行业资质要求
非个人主体 开放类目商品资质要求
禁售商品列表
资质证照示例说明
城市服务
城市服务消息通路接口
城市服务实名信息校验
城市服务快速填写组件
城市服务接入安全检测
基础能力
DarkMode 适配指南
大屏适配指南
服务端能力
服务端 API
消息推送
网络
局域网通信
使用说明
数据预拉取
分包加载
独立分包
使用分包
分包预下载
文件系统
自定义 tabBar
周期性更新
多线程 Worker
存储
画布
小程序搜索
小程序搜索优化指南
商品数据接 入(内测)
小程序直播
服务端接口
成员管理接口
直播间接口
商品管理接口
长期订阅相关接口
其他能力
组件接口
接入说明
版本更新日志
小程序运行时
JavaScript 支持情况
运行环境
更新机制
运行机制
开放能力
多人音视频对话
URL Scheme打开小程序
附近的小程序
获取小程序码
交易投诉处理
分享到朋友圈 Beta
数据分析
卡券
概述
会员卡组件
广告
广告数据接口
激励视频广告
视频前贴广告
插屏广告
视频广告
原生模板广告
广告预加载接口
Banner 广告
格子广告
微信物流助手接口文档
快递接口(快递公司查看)
即时配送接口(商家查看)
常见问题
概述
联系我们
沙盒测试
开发必读
附录 1:品类表
附录 2:order_status 枚举值
配送公司信息
版本说明
相关接口和事件
快递接口(商家查看)
常见问题
沙盒测试
下载打单软件
相关接口和事件
联系我们
接口规则
快递公司信息
协议规则
文档说明
版本说明
产品简介
消息
客服消息
接收消息和事件
转发消息
临时素材
发送消息
概述
下发客服输入状态
位置消息
统一服务消息
订阅消息
用户信息
授权
小程序登录
开放数据校验与解密
获取手机号
生物认证
UnionID 机制说明
转发
动态消息
小程序私密消息
转发
聊天素材打开
收藏
打开 App
硬件能力
NFC
蓝牙
Wi-Fi
行业能力
乘车码仿原生模板
用户注册签约(可选)
设置线路接口
用户解约(可选)
生码
扫码支付
仿原生跳转
欠费支付
查询线路接口
查询欠费用户列表
用户签约状态查询
起步
小程序代码构成
小程序宿主环境
开始
小程序协同工作和发布
小程序测速
调试
小程序框架
场景值
逻辑层
API
页面生命周期
注册小程序
页面路由
注册页面
模块化
视图层
WXS
事件系统
WXS 响应事件
获取界面上的节点信息
简易双向绑定
WXML
基础组件
初始渲染缓存
WXSS
响应显示区域变化
动画
企业微信兼容
插件
使用插件
开发插件
插件功能页
发票功能页
支付功能页
发票抬头功能页
用户信息功能页
收货地址功能页
插件使用组件的限制
插件调用 API 的限制
基础库
低版本兼容
版本分布
自定义组件
组件间关系
behaviors
自定义组件扩展
Component 构造器
获取更新性能统计信息
组件间通信与事件
数据监听器
抽象节点
纯数据字段
开发第三方自定义组件
组件生命周期
组件模板和样式
单元测试
健康运营指引
性能与体验
运行时性能
性能分析工具
体验评分
体验评分简介
评分方法与规则
最佳实践
体验
性能
评分方法
启动性能
组件
原生组件说明
native-component
地图
map
基础内容
rich-text
progress
icon
text
媒体组件
camera
live-pusher
video
audio
image
voip-room
live-player
导航
functional-page-navigator
navigator
导航栏
navigation-bar
开放能力
official-account
web-view
ad
open-data
ad-custom
无障碍访问
aria-component
表单组件
form
radio
picker-view-column
checkbox-group
checkbox
switch
textarea
picker
label
slider
input
picker-view
editor
button
keyboard-accessory
radio-group
视图容器
movable-view
view
swiper
scroll-view
cover-view
cover-image
movable-area
match-media
swiper-item
页面属性配置节点
page-meta
API
Worker
wx.createWorker
Worker
Worker.terminate
Worker.onProcessKilled
Worker.onMessage
Worker.postMessage
WXML
SelectorQuery
SelectorQuery.select
SelectorQuery.selectAll
SelectorQuery.exec
SelectorQuery.in
SelectorQuery.selectViewport
IntersectionObserver
IntersectionObserver.observe
IntersectionObserver.relativeToViewport
IntersectionObserver.disconnect
IntersectionObserver.relativeTo
wx.createSelectorQuery
NodesRef
NodesRef.scrollOffset
NodesRef.context
NodesRef.boundingClientRect
NodesRef.node
NodesRef.fields
MediaQueryObserver
MediaQueryObserver.observe
MediaQueryObserver.disconnect
wx.createIntersectionObserver
位置
wx.chooseLocation
wx.openLocation
wx.onLocationChange
wx.offLocationChange
wx.startLocationUpdateBackground
wx.getLocation
wx.stopLocationUpdate
wx.startLocationUpdate
基础
wx.canIUse
wx.base64ToArrayBuffer
定时器
clearTimeout
clearInterval
setTimeout
setInterval
小程序
应用级事件
wx.offAppShow
wx.onAudioInterruptionEnd
wx.onAppShow
wx.onPageNotFound
wx.onUnhandledRejection
wx.onAudioInterruptionBegin
wx.offUnhandledRejection
wx.onError
wx.onAppHide
wx.offAppHide
wx.offAudioInterruptionBegin
wx.onThemeChange
wx.offError
wx.offPageNotFound
wx.offAudioInterruptionEnd
wx.offThemeChange
生命周期
wx.getLaunchOptionsSync
wx.getEnterOptionsSync
更新
wx.updateWeChatApp
UpdateManager
UpdateManager.onUpdateReady
UpdateManager.onCheckForUpdate
UpdateManager.onUpdateFailed
UpdateManager.applyUpdate
wx.getUpdateManager
环境变量
env
系统
系统信息
wx.getSystemInfo
wx.getSystemInfoSync
wx.getSystemInfoAsync
调试
wx.getRealtimeLogManager
RealtimeLogManager
RealtimeLogManager.info
RealtimeLogManager.warn
RealtimeLogManager.error
RealtimeLogManager.setFilterMsg
RealtimeLogManager.in
RealtimeLogManager.addFilterMsg
LogManager
LogManager.log
LogManager.warn
LogManager.info
LogManager.debug
console
console.info
console.debug
console.groupEnd
console.warn
console.log
console.group
console.error
wx.getLogManager
wx.setEnableDebug
wx.arrayBufferToBase64
媒体
图片
wx.getImageInfo
wx.chooseMessageFile
wx.previewMedia
wx.previewImage
wx.chooseImage
wx.compressImage
wx.saveImageToPhotosAlbum
地图
MapContext
MapContext.getScale
MapContext.removeGroundOverlay
MapContext.setCenterOffset
MapContext.on
MapContext.openMapApp
MapContext.toScreenLocation
MapContext.addMarkers
MapContext.getSkew
MapContext.getCenterLocation
MapContext.fromScreenLocation
MapContext.initMarkerCluster
MapContext.addCustomLayer
MapContext.translateMarker
MapContext.getRotate
MapContext.removeCustomLayer
MapContext.moveToLocation
MapContext.getRegion
MapContext.includePoints
MapContext.removeMarkers
MapContext.updateGroundOverlay
MapContext.addGroundOverlay
MapContext.moveAlong
wx.createMapContext
实时语音
wx.subscribeVoIPVideoMembers
wx.offVoIPVideoMembersChanged
wx.exitVoIPChat
wx.joinVoIPChat
wx.updateVoIPChatMuteConfig
wx.onVoIPVideoMembersChanged
wx.onVoIPChatMembersChanged
wx.onVoIPChatInterrupted
wx.offVoIPChatInterrupted
wx.onVoIPChatSpeakersChanged
wx.offVoIPChatMembersChanged
实时音视频
wx.createLivePusherContext
wx.createLivePlayerContext
LivePusherContext
LivePusherContext.resumeBGM
LivePusherContext.start
LivePusherContext.stopBGM
LivePusherContext.sendMessage
LivePusherContext.switchCamera
LivePusherContext.stopPreview
LivePusherContext.playBGM
LivePusherContext.stop
LivePusherContext.snapshot
LivePusherContext.setBGMVolume
LivePusherContext.setMICVolume
LivePusherContext.startPreview
LivePusherContext.pause
LivePusherContext.pauseBGM
LivePusherContext.toggleTorch
LivePusherContext.resume
LivePlayerContext
LivePlayerContext.exitFullScreen
LivePlayerContext.snapshot
LivePlayerContext.mute
LivePlayerContext.play
LivePlayerContext.exitPictureInPicture
LivePlayerContext.requestFullScreen
LivePlayerContext.pause
LivePlayerContext.stop
LivePlayerContext.requestPictureInPicture
LivePlayerContext.resume
富文本
EditorContext
EditorContext.format
EditorContext.blur
EditorContext.redo
EditorContext.insertDivider
EditorContext.insertImage
EditorContext.insertText
EditorContext.getSelectionText
EditorContext.undo
EditorContext.scrollIntoView
EditorContext.removeFormat
EditorContext.getContents
EditorContext.clear
EditorContext.setContents
录音
wx.startRecord
wx.getRecorderManager
RecorderManager
RecorderManager.onFrameRecorded
RecorderManager.pause
RecorderManager.onStart
RecorderManager.onInterruptionBegin
RecorderManager.stop
RecorderManager.onResume
RecorderManager.onError
RecorderManager.onStop
RecorderManager.onInterruptionEnd
RecorderManager.resume
RecorderManager.start
RecorderManager.onPause
wx.stopRecord
画面录制器
wx.createMediaRecorder
MediaRecorder
MediaRecorder.requestFrame
MediaRecorder.pause
MediaRecorder.destroy
MediaRecorder.resume
MediaRecorder.start
MediaRecorder.stop
MediaRecorder.on
MediaRecorder.off
相机
CameraContext
CameraContext.onCameraFrame
CameraContext.stopRecord
CameraContext.startRecord
CameraContext.takePhoto
CameraContext.setZoom
CameraFrameListener
CameraFrameListener.start
CameraFrameListener.stop
wx.createCameraContext
背景音频
wx.seekBackgroundAudio
wx.onBackgroundAudioStop
wx.onBackgroundAudioPause
wx.getBackgroundAudioPlayerState
wx.onBackgroundAudioPlay
wx.pauseBackgroundAudio
BackgroundAudioManager
BackgroundAudioManager.onSeeked
BackgroundAudioManager.onTimeUpdate
BackgroundAudioManager.stop
BackgroundAudioManager.onSeeking
BackgroundAudioManager.onError
BackgroundAudioManager.onEnded
BackgroundAudioManager.onWaiting
BackgroundAudioManager.onStop
BackgroundAudioManager.play
BackgroundAudioManager.seek
BackgroundAudioManager.pause
BackgroundAudioManager.onCanplay
BackgroundAudioManager.onPrev
BackgroundAudioManager.onPlay
BackgroundAudioManager.onPause
BackgroundAudioManager.onNext
wx.getBackgroundAudioManager
wx.playBackgroundAudio
wx.stopBackgroundAudio
视频
wx.saveVideoToPhotosAlbum
wx.getVideoInfo
wx.openVideoEditor
wx.compressVideo
VideoContext
VideoContext.play
VideoContext.hideStatusBar
VideoContext.showStatusBar
VideoContext.seek
VideoContext.playbackRate
VideoContext.requestFullScreen
VideoContext.sendDanmu
VideoContext.exitPictureInPicture
VideoContext.exitFullScreen
VideoContext.stop
VideoContext.pause
wx.chooseMedia
wx.chooseVideo
wx.createVideoContext
视频解码器
wx.createVideoDecoder
VideoDecoder
VideoDecoder.stop
VideoDecoder.off
VideoDecoder.getFrameData
VideoDecoder.seek
VideoDecoder.remove
VideoDecoder.on
VideoDecoder.start
音视频合成
MediaTrack
MediaContainer
MediaContainer.addTrack
MediaContainer.destroy
MediaContainer.removeTrack
MediaContainer.export
MediaContainer.extractDataSource
wx.createMediaContainer
音频
wx.createMediaAudioPlayer
MediaAudioPlayer
MediaAudioPlayer.stop
MediaAudioPlayer.removeAudioSource
MediaAudioPlayer.destroy
MediaAudioPlayer.addAudioSource
MediaAudioPlayer.start
wx.playVoice
AudioContext
AudioContext.setSrc
AudioContext.pause
AudioContext.seek
AudioContext.play
wx.createAudioContext
wx.getAvailableAudioSources
wx.createInnerAudioContext
wx.setInnerAudioOption
wx.stopVoice
InnerAudioContext
InnerAudioContext.onSeeked
InnerAudioContext.onPause
InnerAudioContext.onEnded
InnerAudioContext.destroy
InnerAudioContext.offSeeking
InnerAudioContext.offError
InnerAudioContext.stop
InnerAudioContext.seek
InnerAudioContext.onTimeUpdate
InnerAudioContext.offEnded
InnerAudioContext.onPlay
InnerAudioContext.onSeeking
InnerAudioContext.onWaiting
InnerAudioContext.offPause
InnerAudioContext.onStop
InnerAudioContext.offSeeked
InnerAudioContext.pause
InnerAudioContext.offCanplay
InnerAudioContext.onError
InnerAudioContext.offStop
InnerAudioContext.offWaiting
InnerAudioContext.onCanplay
InnerAudioContext.offTimeUpdate
InnerAudioContext.play
InnerAudioContext.offPlay
wx.pauseVoice
广告
RewardedVideoAd
RewardedVideoAd.onLoad
RewardedVideoAd.offError
RewardedVideoAd.offClose
RewardedVideoAd.show
RewardedVideoAd.load
RewardedVideoAd.destroy
RewardedVideoAd.onClose
RewardedVideoAd.onError
RewardedVideoAd.offLoad
wx.createRewardedVideoAd
InterstitialAd
InterstitialAd.onLoad
InterstitialAd.show
InterstitialAd.destroy
InterstitialAd.onError
InterstitialAd.offError
InterstitialAd.offLoad
InterstitialAd.onClose
InterstitialAd.offClose
InterstitialAd.load
wx.createInterstitialAd
开放接口
卡券
wx.openCard
wx.addCard
发票
wx.chooseInvoice
wx.chooseInvoiceTitle
小程序跳转
wx.navigateBackMiniProgram
wx.navigateToMiniProgram
帐号信息
wx.getAccountInfoSync
微信红包
wx.showRedPackage
微信运动
wx.getWeRunData
性能
Performance
Performance.getEntriesByType
Performance.getEntries
Performance.createObserver
Performance.getEntriesByName
Performance.setBufferSize
EntryList
EntryList.getEntriesByName
EntryList.getEntriesByType
EntryList.getEntries
wx.getPerformance
PerformanceObserver
PerformanceObserver.disconnect
PerformanceObserver.observe
wx.reportPerformance
授权
wx.authorize
wx.authorizeForMiniProgram
支付
wx.requestPayment
收货地址
wx.chooseAddress
数据上报
wx.reportMonitor
wx.getExptInfoSync
wx.reportEvent
数据分析
wx.reportAnalytics
生物认证
wx.checkIsSupportSoterAuthentication
wx.startSoterAuthentication
wx.checkIsSoterEnrolledInDevice
用户信息
UserInfo
wx.getUserInfo
wx.getUserProfile
登录
wx.login
wx.checkSession
群工具
wx.getGroupEnterInfo
订阅消息
wx.requestSubscribeMessage
设置
wx.getSetting
wx.openSetting
SubscriptionsSetting
AuthSetting
数据缓存
wx.removeStorage
wx.setStorageSync
wx.getStorage
wx.removeStorageSync
wx.clearStorageSync
wx.getStorageInfoSync
周期性更新
wx.getBackgroundFetchToken
wx.getBackgroundFetchData
wx.onBackgroundFetchData
wx.setBackgroundFetchToken
wx.setStorage
wx.clearStorage
wx.getStorageSync
wx.getStorageInfo
文件
wx.getFileSystemManager
wx.saveFile
wx.getSavedFileInfo
wx.getSavedFileList
FileSystemManager
FileSystemManager.rmdir
FileSystemManager.appendFileSync
FileSystemManager.removeSavedFile
FileSystemManager.mkdir
FileSystemManager.accessSync
FileSystemManager.stat
FileSystemManager.readFile
FileSystemManager.getFileInfo
FileSystemManager.access
FileSystemManager.readdirSync
FileSystemManager.readdir
FileSystemManager.mkdirSync
FileSystemManager.saveFileSync
FileSystemManager.writeFile
FileSystemManager.statSync
FileSystemManager.renameSync
FileSystemManager.unlink
FileSystemManager.readFileSync
FileSystemManager.rmdirSync
FileSystemManager.appendFile
FileSystemManager.writeFileSync
FileSystemManager.getSavedFileList
FileSystemManager.copyFile
FileSystemManager.unlinkSync
FileSystemManager.copyFileSync
FileSystemManager.rename
FileSystemManager.saveFile
FileSystemManager.unzip
wx.saveFileToDisk
wx.getFileInfo
Stats
Stats.isDirectory
Stats.isFile
wx.removeSavedFile
wx.openDocument
画布
wx.canvasToTempFilePath
OffscreenCanvas
OffscreenCanvas.getContext
wx.canvasGetImageData
wx.createCanvasContext
Path2D
CanvasContext
CanvasContext.lineTo
CanvasContext.clip
CanvasContext.fillRect
CanvasContext.closePath
CanvasContext.save
CanvasContext.drawImage
CanvasContext.setFontSize
CanvasContext.scale
CanvasContext.setLineWidth
CanvasContext.arc
CanvasContext.setGlobalAlpha
CanvasContext.transform
CanvasContext.setTextAlign
CanvasContext.setStrokeStyle
CanvasContext.measureText
CanvasContext.setLineJoin
CanvasContext.stroke
CanvasContext.beginPath
CanvasContext.strokeText
CanvasContext.setFillStyle
CanvasContext.setTextBaseline
CanvasContext.setLineDash
CanvasContext.createLinearGradient
CanvasContext.rotate
CanvasContext.createPattern
CanvasContext.createCircularGradient
CanvasContext.clearRect
CanvasContext.rect
CanvasContext.strokeRect
CanvasContext.setLineCap
CanvasContext.translate
CanvasContext.fillText
CanvasContext.fill
CanvasContext.draw
CanvasContext.moveTo
CanvasContext.setShadow
CanvasContext.arcTo
CanvasContext.restore
CanvasContext.bezierCurveTo
CanvasContext.setMiterLimit
CanvasContext.setTransform
CanvasContext.quadraticCurveTo
ImageData
Canvas
Canvas.getContext
Canvas.toDataURL
Canvas.createImage
Canvas.requestAnimationFrame
Canvas.createImageData
Canvas.cancelAnimationFrame
Canvas.createPath2D
Image
CanvasGradient
CanvasGradient.addColorStop
wx.createOffscreenCanvas
RenderingContext
Color
wx.canvasPutImageData
界面
Tab Bar
wx.setTabBarItem
wx.hideTabBar
wx.removeTabBarBadge
wx.setTabBarStyle
wx.showTabBarRedDot
wx.showTabBar
wx.hideTabBarRedDot
wx.setTabBarBadge
下拉刷新
wx.startPullDownRefresh
wx.stopPullDownRefresh
交互
wx.enableAlertBeforeUnload
wx.showToast
wx.showModal
wx.showActionSheet
wx.hideLoading
wx.showLoading
wx.hideToast
wx.disableAlertBeforeUnload
动画
wx.createAnimation
Animation
Animation.matrix
Animation.opacity
Animation.rotateY
Animation.matrix3d
Animation.skewX
Animation.rotate
Animation.skew
Animation.scaleY
Animation.bottom
Animation.scaleX
Animation.translateY
Animation.translate3d
Animation.width
Animation.scale3d
Animation.rotateZ
Animation.height
Animation.backgroundColor
Animation.translateX
Animation.scaleZ
Animation.rotateX
Animation.skewY
Animation.top
Animation.step
Animation.scale
Animation.export
Animation.translate
Animation.rotate3d
Animation.translateZ
Animation.left
Animation.right
字体
wx.loadFontFace
导航栏
wx.showNavigationBarLoading
wx.setNavigationBarTitle
wx.setNavigationBarColor
wx.hideHomeButton
wx.hideNavigationBarLoading
滚动
wx.pageScrollTo
窗口
wx.onWindowResize
wx.offWindowResize
wx.setWindowSize
置顶
wx.setTopBarText
背景
wx.setBackgroundColor
wx.setBackgroundTextStyle
自定义组件
wx.nextTick
菜单
wx.getMenuButtonBoundingClientRect
键盘
wx.offKeyboardHeightChange
wx.onKeyboardHeightChange
wx.getSelectedTextRange
wx.hideKeyboard
第三方平台
wx.getExtConfig
wx.getExtConfigSync
网络
mDNS
wx.onLocalServiceFound
wx.stopLocalServiceDiscovery
wx.onLocalServiceLost
wx.offLocalServiceFound
wx.startLocalServiceDiscovery
wx.offLocalServiceResolveFail
wx.offLocalServiceDiscoveryStop
wx.offLocalServiceLost
wx.onLocalServiceDiscoveryStop
wx.onLocalServiceResolveFail
UDP 通信
wx.createUDPSocket
UDPSocket
UDPSocket.onMessage
UDPSocket.send
UDPSocket.offError
UDPSocket.onError
UDPSocket.offClose
UDPSocket.onListening
UDPSocket.bind
UDPSocket.offMessage
UDPSocket.offListening
UDPSocket.onClose
UDPSocket.close
WebSocket
wx.onSocketOpen
wx.closeSocket
wx.onSocketMessage
wx.onSocketClose
wx.sendSocketMessage
wx.connectSocket
wx.onSocketError
SocketTask
SocketTask.onClose
SocketTask.onMessage
SocketTask.send
SocketTask.onError
SocketTask.onOpen
SocketTask.close
上传
wx.uploadFile
UploadTask
UploadTask.onHeadersReceived
UploadTask.offProgressUpdate
UploadTask.onProgressUpdate
UploadTask.offHeadersReceived
UploadTask.abort
下载
DownloadTask
DownloadTask.offProgressUpdate
DownloadTask.offHeadersReceived
DownloadTask.onProgressUpdate
DownloadTask.abort
DownloadTask.onHeadersReceived
wx.downloadFile
发起请求
wx.request
RequestTask
RequestTask.onHeadersReceived
RequestTask.abort
RequestTask.offHeadersReceived
设备
iBeacon
wx.onBeaconUpdate
wx.getBeacons
wx.startBeaconDiscovery
wx.offBeaconServiceChange
wx.stopBeaconDiscovery
wx.onBeaconServiceChange
wx.offBeaconUpdate
IBeaconInfo
NFC
wx.getNFCAdapter
MifareClassic
MifareClassic.connect
MifareClassic.transceive
MifareClassic.isConnected
MifareClassic.close
MifareClassic.setTimeout
MifareClassic.getMaxTransceiveLength
IsoDep
IsoDep.setTimeout
IsoDep.transceive
IsoDep.connect
IsoDep.getHistoricalBytes
IsoDep.isConnected
IsoDep.getMaxTransceiveLength
IsoDep.close
wx.onHCEMessage
NfcV
NfcV.transceive
NfcV.getMaxTransceiveLength
NfcV.close
NfcV.connect
NfcV.isConnected
NfcV.setTimeout
Ndef
Ndef.setTimeout
Ndef.isConnected
Ndef.writeNdefMessage
Ndef.close
Ndef.offNdefMessage
Ndef.onNdefMessage
Ndef.connect
wx.getHCEState
wx.sendHCEMessage
NfcA
NfcA.connect
NfcA.getAtqa
NfcA.getMaxTransceiveLength
NfcA.setTimeout
NfcA.close
NfcA.isConnected
NfcA.transceive
NfcA.getSak
NFCAdapter
NFCAdapter.getMifareClassic
NFCAdapter.getNdef
NFCAdapter.stopDiscovery
NFCAdapter.onDiscovered
NFCAdapter.startDiscovery
NFCAdapter.getMifareUltralight
NFCAdapter.offDiscovered
NFCAdapter.getNfcA
NFCAdapter.getNfcV
NFCAdapter.getNfcF
NFCAdapter.getNfcB
NFCAdapter.getIsoDep
NfcF
NfcF.close
NfcF.setTimeout
NfcF.transceive
NfcF.connect
NfcF.getMaxTransceiveLength
NfcF.isConnected
MifareUltralight
MifareUltralight.setTimeout
MifareUltralight.transceive
MifareUltralight.getMaxTransceiveLength
MifareUltralight.isConnected
MifareUltralight.connect
MifareUltralight.close
wx.stopHCE
wx.startHCE
NfcB
NfcB.connect
NfcB.isConnected
NfcB.getMaxTransceiveLength
NfcB.setTimeout
NfcB.close
NfcB.transceive
wx.offHCEMessage
Wi-Fi
wx.getConnectedWifi
wx.offWifiConnected
wx.onWifiConnected
WifiInfo
wx.setWifiList
wx.startWifi
wx.getWifiList
wx.stopWifi
wx.connectWifi
wx.onGetWifiList
wx.offGetWifiList
低功耗蓝牙
wx.onBLEConnectionStateChange
wx.makeBluetoothPair
wx.closeBLEConnection
wx.notifyBLECharacteristicValueChange
wx.getBLEDeviceCharacteristics
wx.readBLECharacteristicValue
wx.offBLECharacteristicValueChange
wx.getBLEDeviceRSSI
wx.createBLEConnection
wx.writeBLECharacteristicValue
wx.getBLEDeviceServices
wx.onBLECharacteristicValueChange
wx.offBLEConnectionStateChange
wx.setBLEMTU
剪贴板
wx.setClipboardData
wx.getClipboardData
加速计
wx.offAccelerometerChange
wx.onAccelerometerChange
wx.startAccelerometer
wx.stopAccelerometer
外围设备
wx.createBLEPeripheralServer
wx.onBLEPeripheralConnectionStateChanged
wx.offBLEPeripheralConnectionStateChanged
BLEPeripheralServer
BLEPeripheralServer.startAdvertising
BLEPeripheralServer.removeService
BLEPeripheralServer.writeCharacteristicValue
BLEPeripheralServer.onCharacteristicSubscribed
BLEPeripheralServer.onCharacteristicUnsubscribed
BLEPeripheralServer.offCharacteristicUnsubscribed
BLEPeripheralServer.addService
BLEPeripheralServer.close
BLEPeripheralServer.offCharacteristicReadRequest
BLEPeripheralServer.onCharacteristicWriteRequest
BLEPeripheralServer.stopAdvertising
BLEPeripheralServer.onCharacteristicReadRequest
BLEPeripheralServer.offCharacteristicSubscribed
BLEPeripheralServer.offCharacteristicWriteRequest
屏幕
wx.offUserCaptureScreen
wx.setKeepScreenOn
wx.onUserCaptureScreen
wx.setScreenBrightness
wx.getScreenBrightness
性能
wx.onMemoryWarning
wx.offMemoryWarning
扫码
wx.scanCode
振动
wx.vibrateLong
wx.vibrateShort
无障碍
wx.checkIsOpenAccessibility
日历
wx.addPhoneRepeatCalendar
wx.addPhoneCalendar
电话
wx.makePhoneCall
电量
wx.getBatteryInfo
wx.getBatteryInfoSync
网络
wx.onNetworkStatusChange
wx.getNetworkType
wx.offNetworkStatusChange
罗盘
wx.offCompassChange
wx.onCompassChange
wx.startCompass
wx.stopCompass
联系人
wx.addPhoneContact
蓝牙
wx.openBluetoothAdapter
wx.startBluetoothDevicesDiscovery
wx.onBluetoothDeviceFound
wx.getBluetoothAdapterState
wx.offBluetoothAdapterStateChange
wx.onBluetoothAdapterStateChange
wx.stopBluetoothDevicesDiscovery
wx.getBluetoothDevices
wx.getConnectedBluetoothDevices
wx.closeBluetoothAdapter
wx.offBluetoothDeviceFound
设备方向
wx.onDeviceMotionChange
wx.startDeviceMotionListening
wx.stopDeviceMotionListening
wx.offDeviceMotionChange
陀螺仪
wx.onGyroscopeChange
wx.offGyroscopeChange
wx.startGyroscope
wx.stopGyroscope
路由
wx.navigateBack
wx.switchTab
EventChannel
wx.redirectTo
wx.reLaunch
wx.navigateTo
EventChannel
EventChannel.once
EventChannel.off
EventChannel.emit
EventChannel.on
转发
wx.getShareInfo
wx.authPrivateMessage
wx.onCopyUrl
wx.showShareMenu
wx.hideShareMenu
wx.showShareImageMenu
wx.offCopyUrl
wx.updateShareMenu
服务端
数据分析
getUserPortrait
访问留存
getDailyRetain
getMonthlyRetain
getWeeklyRetain
访问趋势
getMonthlyVisitTrend
getWeeklyVisitTrend
getDailyVisitTrend
getVisitPage
getPerformanceData
getVisitDistribution
getDailySummary
OCR
businessLicense
printedText
driverLicense
bankcard
idcard
vehicleLicense
URL Scheme
generate
云开发
sendSms
createSendSmsTask
getStatistics
getVoIPSign
report
getOpenData
内容安全
msgSecCheck
mediaCheckAsync
imgSecCheck
动态消息
createActivityId
setUpdatableMsg
即时配送
小程序使用
onOrderStatus
bindAccount
realMockUpdateOrder
preAddOrder
cancelOrder
getBindAccount
addTip
getOrder
openDelivery
abnormalConfirm
mockUpdateOrder
reOrder
addOrder
preCancelOrder
getAllImmeDelivery
运力方使用
onRiderScoreSet
updateOrder
onCancelAuth
onOrderQuery
onOrderReAdd
onOrderPreCancel
onOrderAdd
onPreAuthCodeGet
onMockUpdateOrder
onOrderAddTips
onOrderCancel
onOrderPreAdd
onAgentPosQuery
onOrderConfirmReturn
onAuthInfoGet
图像处理
superresolution
scanQRCode
aiCrop
安全风控
getUserRiskRank
客服消息
uploadTempMedia
send
getTempMedia
setTyping
小程序搜索
imageSearch
siteSearch
submitPages
小程序码
createQRCode
get
getUnlimited
广告
getUserActionSetReports
getUserActionSets
addUserAction
addUserActionSet
接口调用凭证
getAccessToken
插件管理
setDevPluginApplyStatus
getPluginDevApplyList
applyPlugin
getPluginList
unbindPlugin
服务市场
invokeService
模板消息(已废弃)
getTemplateLibraryById
getTemplateList
getTemplateLibraryList
addTemplate
send
deleteTemplate
物流助手
小程序使用
onPathUpdate
addOrder
getAllDelivery
onBindResultUpdate
updatePrinter
getPrinter
bindAccount
getQuota
batchGetOrder
cancelOrder
getAllAccount
testUpdateOrder
getPath
getOrder
运力方使用
onAddOrder
updatePath
onGetQuota
previewTemplate
getContact
onCheckBusiness
updateBusiness
onCancelOrder
生物认证
verifySignature
用户信息
getPaidUnionId
登录
code2Session
直播
getSharedCode
pushMessage
addGoods
goodsSort
deleteRole
goodsPush
deleteSubAnchor
removeAssistant
goodsInfo
goodsResetAudit
goodsAdd
modifyAssistant
addAssistant
createRoom
getLiveInfo
goodsDelete
editRoom
goodsUpdate
deleteRoom
updateFeedPublic
addRole
goodsAudit
addSubAnchor
getPushUrl
getSubAnchor
updateKF
getFollowers
getAssistantList
updateComment
goodsList
getRoleList
goodsSale
modifySubAnchor
updateReplay
goodsVideo
统一服务消息
send
订阅消息
getPubTemplateKeyWordsById
getCategory
getTemplateList
addTemplate
send
deleteTemplate
getPubTemplateTitleList
运维中心
getSceneList
getFeedback
getJsErrDetail
getJsErrSearch
getFeedbackmedia
getVersionList
realtimelogSearch
getPerformance
getJsErrList
附近的小程序
getList
setShowStatus
add
delete
云开发
介绍
基础概念
重要概念
环境
跨账号环境共享
云开发能力
服务商模式
云托管
插件支持
权限设置
未登录模式
参考信息
错误码
兼容性问题
更新日志
Web SDK
开发指引
指引
编辑器
控制台
初始化
调试
基础能力
存储
API
管理文件
文件名命名限制
组件支持
数据库
地理位置
数据类型
事务
Explain 查询分析
上手
增删查改 (SDK)
查询、更新数组/对象
查询指令
删除数据
初始化
更新
查询
联表查询
插入
增删查改 (管理端)
控制台数据库高级操作
数据库脚本
数据迁移
导入
导出
权限管理
简易权限配置
简介
安全规则
聚合
示例
能力说明
实时数据推送
索引
数据备份
云函数
注意事项
管理云函数
灰度/版本管理
运行机制
安全规则
高级日志
使用 wx-server-sdk
异步返回结果
本地调试
测试、日志与监控
我的第一个云函数
获取小程序用户信息
定时触发器
使用 npm
云托管
容器内微信信息
介绍
使用指南
容器内云调用
云托管概念说明
最佳实践
Java
C#(.NET)
Python
PHP
拓展插件
内容管理
内容模型
开通使用
营销工具
介绍
静态网站
H5 跳小程序
短信跳小程序
简介
微信生态
云调用
公众号环境共享
Web SDK
第三方 Cookie 限制说明
云调用
使用指南
使用云开发·示例
cloudbase_auth 云函数
简介
echo 云函数
HTML
小程序环境共享
介绍
示例
使用指南
微信支付
分账
支付
开发者资源
HTTP API 文档
其他
获取腾讯云API调用凭证
数据库
导入
查询记录
更新索引
统计记录数量
更新记录
新增集合
删除记录
获取集合信息
导出
迁移状态查询
删除集合
插入记录
聚合
存储
删除文件
获取文件下载链接
获取文件上传链接
云函数
触发云函数
SDK 文档
(index)
初始化
Web
小程序
云函数
微信支付
申请退款
支付结果回调
查询退款
下载对账单
关闭订单
统一下单
查询订单
分账能力
回退结果查询
分账回退
查询分账结果
添加分账接收方
请求多次分账
删除分账接收方
完结分账
请求单次分账
Web API
getJSSDKSignature
startLogin
checkLogin
refreshAuth
云函数
callFunction
云托管
callContainer
工具类
CDN
logger
getCloudCallSign
getWXContext
Cloud
常量
DYNAMIC_CURRENT_ENV
开放能力
getOpenData
getVoIPSign
CloudID
openapi
数据库
Geo
类型
GeoMultiPolygon
GeoMultiPoint
GeoPolygon
GeoLineString
GeoMultiLineString
GeoPoint
Point
MultiLineString
Polygon
MultiPolygon
LineString
MultiPoint
database
Aggregate
sortByCount
geoNear
sample
count
project
bucketAuto
unwind
skip
group
limit
end
lookup
bucket
sort
match
(index)
replaceRoot
addFields
Collection
(index)
aggregate
doc
构建查询条件
limit
skip
orderBy
where
field
请求
add
get
count
update
remove
watch
Command
(index)
更新·字段操作符
max
set
mul
rename
remove
inc
min
更新·数组操作符
push
shift
pop
pullAll
addToSet
unshift
pull
查询·地理位置操作符
geoWithin
geoIntersects
geoNear
查询·数组操作符
all
elemMatch
size
查询·比较操作符
neq
gte
eq
lte
gt
exists
nin
in
mod
lt
查询·表达式操作符
expr
查询·逻辑操作符
and
or
not
nor
聚合操作符 $
Expression
(index)
变量操作符
let
字符串操作符
substr
toUpper
dateToString
dateFromString
strcasecmp
indexOfCP
toLower
concat
strLenBytes
indexOfBytes
substrCP
substrBytes
split
strLenCP
对象操作符
objectToArray
布尔操作符
and
not
or
常量操作符
literal
数组操作符
in
map
reverseArray
reduce
arrayElemAt
concatArrays
slice
range
arrayToObject
filter
isArray
size
zip
indexOfArray
日期操作符
dateFromParts
isoDayOfWeek
year
hour
second
dayOfWeek
isoWeek
subtract
dayOfYear
isoWeekYear
minute
dayOfMonth
millisecond
month
week
条件操作符
ifNull
cond
switch
比较操作符
eq
cmp
neq
gt
gte
lt
lte
算术操作符
pow
sqrt
log10
floor
log
ceil
abs
divide
trunc
multiply
add
mod
ln
exp
累计器操作符
stdDevSamp
mergeObjects
last
stdDevPop
sum
min
addToSet
first
avg
push
max
集合操作符
setUnion
setIntersection
setEquals
anyElementTrue
setDifference
setIsSubset
allElementsTrue
Database
RegExp
serverDate
startTransaction
runTransaction
collection
(index)
createCollection
Document
remove
get
(index)
update
set
Transaction
commit
(index)
rollback
collection
文件存储
uploadFile
云函数
小程序
getTempFileURL
deleteFile
downloadFile
云函数
小程序
快速开始
小程序/小游戏
公众号
计费相关
按量付费
资源用量提醒与冻结
欠费和停服处理
资源包
支付方式
预付费
续费说明
资源超限和到期停服规则
配额调整规则
配额说明
配额调整
代金券
发票管理
运维
监控图表
告警
工单
工具
概览
小程序调试
真机调试
多帐号调试
周期性数据调试
特殊场景调试
数据预拉取调试
界面
项目页卡
小程序自动化
快速开始
脚本示例
真机自动化
API
Automator
MiniProgram
Page
Element
FAQ
更新日志
常用示例
下载
稳定版更新日志
开发版更新日志
预发布版更新日志
API 实现差异
设置
快捷键设置
代码编辑
编辑器扩展
项目配置文件
工具插件
体验评分
sourceMap 匹配调试
搜索回调调试
开发模式
小程序插件开发
企业微信小程序开发
PC 小程序开发
第三方平台代开发
开发辅助
文档搜索
代码静态依赖分析
CI
npm 支持
测试号
代码片段
版本管理
代码编译
骨架屏
可视化编辑
命令行调用
微信开发者·代码管理
API Mock
CPU Profile 支持
音视频处理
小程序助手
HTTP 调用
更新日志
小程序基础库
v2.x版本
v1.x版本
v0.x版本
开发者工具
小程序·云开发
wx-server-sdk
IDE & 控制台
基础库
暂无相关搜索结果!
本文档使用
BookStack
构建
×
分享,让知识传承更久远
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
×
微信小程序阅读
微信扫一扫,知识掌上学
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度