函数:urlEncoder 编码

函数名称:编码

函数功能:json 串编码

TSLib 版本:仅支持 v1.2.1 以上版本

函数方法

str2 = urlEncoder(str1)

参数 类型 必填 说明
str1 string json 串编码的内容
返回值 类型 说明
str2 string 编码后的内容

函数用例

require "TSLib"--使用本函数库必须在脚本开头引用并将文件放到设备 lua 目录下
dialog(urlEncoder("触动精灵"),5) -- 编码
Copyright 北京帮你玩科技有限公司 2023 all right reserved,powered by Gitbook该文章修订时间: 2024-03-06 17:50:18

results matching ""

    No results matching ""