📝 docs(tsl): add generated codegen reference
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# 文档处理函数 - 验证码支持
|
||||
|
||||
## 函数
|
||||
|
||||
### `createCaptchaImage(word, type, param)`
|
||||
|
||||
用以创建一个验证码图片。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------- | ------ | --------------------------------------------------------------------------- |
|
||||
| `word` | string | 用以生成图像的字符串,最大128个字节,最小1个字节的ASCII字符串,不能使用汉字 |
|
||||
| `type` | string | 图像格式,’jpg’,’gif’,’png’,’bmp’ |
|
||||
| `param` | array | 图像参数,如不指定本参数,则使用下表中的缺省值 |
|
||||
|
||||
返回:string
|
||||
Reference in New Issue
Block a user