当前位置: 首页 > news >正文

ipc网站备案查询第一app模板免费下载

ipc网站备案查询,第一app模板免费下载,网站开发+百度编辑器,wordpress 插件更新ty.getAccountInfo 获取小程序账号信息 需引入MiniKit#xff0c;且在3.1.0版本才可使用 参数 Object object 属性类型默认值必填说明completefunction否接口调用结束的回调函数#xff08;调用成功、失败都会执行#xff09;successfunction否接口调用成功的回调函数…ty.getAccountInfo 获取小程序账号信息 需引入MiniKit且在3.1.0版本才可使用 参数 Object object 属性类型默认值必填说明completefunction否接口调用结束的回调函数调用成功、失败都会执行successfunction否接口调用成功的回调函数failfunction否接口调用失败的回调函数 object.success 回调参数 参数 Object res 属性类型说明miniProgramMiniProgramAccountInfo小程序账号信息 MiniProgramAccountInfo PropertyTypeDescriptionappIdstring小程序 IDenvVersionstring小程序版本 - develop开发版 - trail体验版 - release正式版versionstring版本号 object.fail 回调参数 参数 Object res 属性类型说明errorMsgstring插件错误信息errorCodestring错误码innerErrorobject插件外部依赖错误信息 {errorMsg: string, errorCode: string } 函数定义示例 export type MiniProgramAccountInfo {/** 小程序 ID */appId: string;/*** 小程序版本* develop: 开发版* trail: 体验版* release: 正式版*/envVersion: string;/** 小程序版本号 */version: string; }; /*** 获取小程序账号信息*/ export function getAccountInfo(params?: {/** 接口调用结束的回调函数调用成功、失败都会执行 */complete?: () void;/** 接口调用成功的回调函数 */success?: (params: {/** 小程序账号信息 */miniProgram: MiniProgramAccountInfo;}) void;/** 接口调用失败的回调函数 */fail?: (params: {errorMsg: string;errorCode: string | number;innerError: {errorCode: string | number;errorMsg: string;};}) void; }): void; ty.getAccountInfoSync 获取小程序账号信息同步方法 需引入MiniKit且在 3.1.0 版本才可使用 getAccountInfo 的同步版本 返回值 属性类型说明miniProgramMiniProgramAccountInfo小程序账号信息 MiniProgramAccountInfo PropertyTypeDescriptionappIdstring小程序 IDenvVersionstring小程序版本 - develop开发版 - trail体验版 - release正式版versionstring版本号 函数定义示例 export type MiniProgramAccountInfo {/** 小程序 ID */appId: string;/*** 小程序版本* develop: 开发版* trail: 体验版* release: 正式版*/envVersion: string;/** 小程序版本号 */version: string; }; /*** 获取小程序账号信息*/ export function getAccountInfoSync(): {/** 小程序账号信息 */miniProgram: MiniProgramAccountInfo; }; ty.setBoardIcon 设置小程序看板的 icon 需引入MiniKit且在3.0.3版本才可使用 参数 Object object 属性类型默认值必填说明iconstring是看板的 iconcompletefunction否接口调用结束的回调函数调用成功、失败都会执行successfunction否接口调用成功的回调函数failfunction否接口调用失败的回调函数 函数定义示例 /*** 小程序看板的icon小程序icon面板icon等*/ export function setBoardIcon(params: {/** 看板的icon */icon: string;/** 接口调用结束的回调函数调用成功、失败都会执行 */complete?: () void;/** 接口调用成功的回调函数 */success?: (params: null) void;/** 接口调用失败的回调函数 */fail?: (params: {errorMsg: string;errorCode: string | number;innerError: {errorCode: string | number;errorMsg: string;};}) void; }): void; ty.setBoardIconSync 设置小程序看板的 icon 需引入MiniKit且在3.0.3版本才可使用 ty.setBoardIcon 的同步版本 参数 Object object 属性类型默认值必填说明iconstring是看板的 icon 函数定义示例 /*** 设置小程序看板的 icon*/ export function setBoardIconSync(params: {/** 看板的icon */icon: string; }): null; ty.showBoardTitleIcon 显示小程序看板中的标题和 icon 需引入MiniKit且在3.0.3版本才可使用 参数 Object object 属性类型默认值必填说明completefunction否接口调用结束的回调函数调用成功、失败都会执行successfunction否接口调用成功的回调函数failfunction否接口调用失败的回调函数 函数定义示例 /*** 显示小程序看板中的标题和icon*/ export function showBoardTitleIcon(params?: {/** 接口调用结束的回调函数调用成功、失败都会执行 */complete?: () void;/** 接口调用成功的回调函数 */success?: (params: null) void;/** 接口调用失败的回调函数 */fail?: (params: {errorMsg: string;errorCode: string | number;innerError: {errorCode: string | number;errorMsg: string;};}) void; }): void; ty.showBoardTitleIconSync The synchronous method used to display the title and icon of the miniapp dashboard. Be sure to import MiniKit 3.0.3 or later. The synchronous method of ty.showBoardTitleIcon. Examples of function definitions /*** Display the title and icon of the miniapp dashboard.*/ export function showBoardTitleIconSync(): null; ty.hideBoardTitleIcon 隐藏小程序看板中的标题和 icon 需引入MiniKit且在3.0.3版本才可使用 参数 Object object 属性类型默认值必填说明completefunction否接口调用结束的回调函数调用成功、失败都会执行successfunction否接口调用成功的回调函数failfunction否接口调用失败的回调函数 函数定义示例 /*** 隐藏小程序看板中的标题和icon*/ export function hideBoardTitleIcon(params?: {/** 接口调用结束的回调函数调用成功、失败都会执行 */complete?: () void;/** 接口调用成功的回调函数 */success?: (params: null) void;/** 接口调用失败的回调函数 */fail?: (params: {errorMsg: string;errorCode: string | number;innerError: {errorCode: string | number;errorMsg: string;};}) void; }): void; ty.hideBoardTitleIconSync 隐藏小程序看板中的标题和 icon 同步方法 需引入MiniKit且在3.0.3版本才可使用 ty.hideBoardTitleIcon 的同步版本 函数定义示例 /*** 隐藏小程序看板中的标题和icon*/ export function hideBoardTitleIconSync(): null; 立即开发。
http://www.zqtcl.cn/news/750018/

相关文章:

  • 石家庄城乡建设局网站四川网络营销
  • 网站更换名称需要重新备案吗赣州章贡区二手房出售信息
  • 浙江恒元建设网站wordpress 主题 英文
  • 甘肃网站建设推广做暧昧免费视频大全网站
  • 科技公司网站系统个人网站模板大全
  • 建网站源码建站详解做加油机公司网站
  • 北海做网站有哪家网站布局策划案
  • 做app网站的软件有哪些内容吗本地网站建设公司
  • 做服装团购有哪些网站有哪些网页端二维码在哪里
  • 石材网站建设方案科室建设网站
  • 梧州住房和建设局网站网站目录文件
  • 有没有做生鲜配送的网站wordpress调用摘要
  • 建设社团网站的可行性分析沈阳网站建设企业
  • 青岛知名网站建设公司优化大师有必要花钱吗
  • pc网站做app京东海淀区
  • 效果好的网站建设公萝岗企业网站建设
  • wordpress个人展示网站6新西兰网站后缀
  • 为什么自己做的网站别人打不开三门峡市湖滨区建设局网站
  • 长春网长春网站建设络推广工程建设国家标准网站
  • 微网站开发 mui框架网站备案幕布拍照是什么
  • 北京天通苑 做网站西安百度网站建设
  • 辽阳建设网站学校 网站 建设 目的
  • 建设电影网站赚钱公司简介模板免费word简易
  • 响应式网站设计的主页自己做装修效果图app软件
  • 做网站最简单的方法做网站开发挣钱吗
  • 网站建设基础入门国内免费的ip地址
  • wordpress 付费剧集网站坐什么网站能用到html5
  • 孝感房产网站建设wordpress E405
  • 做窗帘网站图片大全WordPress一键安装安全
  • 怎样查询网站的备案号广西住房和城乡建设厅网站证件