方法介绍
方法名称:encodeUrl 格式编码为url格式
语法:encodeUrl(str)
参数说明:待编码为url的字符串
返回值: 编码后的url字符串
方法例子
local ret = encodeUrl("欢迎使用懒人精灵")
print("encodeUrl:",ret)