1.引入
2.使用
cutFileReadLine --截取正文内容读取文件
支持柜面渠道
| 参数 | 类型 | 必填参数 | 说明 |
| filePath | string | √ | 文件路径 |
| 参数 | 类型 | 说明 |
| res.result | string | 读取的内容信息 |
openCal --柜面自有:扩展工具(打开计算器)
支持柜面渠道
| 参数 | 类型 | 说明 |
| res.result | string | "true":成功 |
startScreenCap --开始录屏
支持柜面渠道
| 参数 | 类型 | 必填参数 | 说明 |
| videoName | string | √ | 生成视频的名称 |
| filePath | string | √ | 生成视频的保存路径 |
| 参数 | 类型 | 说明 |
| res.result | string | 返回信息:"交易开始被记录!!!,录屏已经开始." |
stopScreenCap --停止录屏
支持柜面渠道
| 参数 | 类型 | 说明 |
| res.result | string | 返回信息:filepath(成功);"错误操作!!!"(失败) |
catchScreen --截屏
支持柜面渠道
| 参数 | 类型 | 必填参数 | 说明 |
| filePath | string | √ | 生成图片路径 |
| 参数 | 类型 | 说明 |
| res.result | string | "true":截图成功 |
csvToMap --CsvToMap
支持柜面渠道
| 参数 | 类型 | 必填参数 | 说明 |
| csv | string | √ | 需要转化得csv |
| 参数 | 类型 | 说明 |
| res.result | string | 转化的结果 |
mapToCsv --mapToCsv
支持柜面渠道
| 参数 | 类型 | 必填参数 | 说明 |
| map | string | √ | 需要转化得map |
| 参数 | 类型 | 说明 |
| res.result | string | 转化的结果 |
addBorderToImg --addBorderToImg
支持柜面渠道
| 参数 | 类型 | 必填参数 | 说明 |
| borderPara | string | √ | 圈化参数 |
| imgPath | string | √ | 图片路径 |
| 参数 | 类型 | 说明 |
| res.result | string | 新路径 |
getEhcache --获取缓存
支持柜面渠道
| 参数 | 类型 | 必填参数 | 说明 |
| key | string | √ | 缓存key |
| childkey | string | √ | 缓存 |
| locale | string | √ | locale |
| 参数 | 类型 | 说明 |
| res.result | string | 返回信息 |
setEhcache --设置缓存
支持柜面渠道
| 参数 | 类型 | 必填参数 | 说明 |
| key | string | √ | 缓存key |
| value | string | √ | 缓缓存value存 |
| 参数 | 类型 | 说明 |
| res.result | string | "true":成功 |
createGif --创建gif
支持柜面渠道
| 参数 | 类型 | 必填参数 | 说明 |
| gifId | string | √ | gifId |
| delay | string | √ | 每一帧显示时间ms 默认2000 |
| quality | string | √ | 生成质量1-100,越小越好 默认100 |
| 参数 | 类型 | 说明 |
| res.result | string | gifId |
addFrameGif --addFrameGif
支持柜面渠道
| 参数 | 类型 | 必填参数 | 说明 |
| gifId | string | √ | gifId |
| data | string | √ | data |
| scale | string | √ | 缩放大小,0-1 默认0.8 |
| quality | string | √ | 生成质量 0-1 默认 1 |
| position | string | √ | 位置信息 {x,y,width,height} 均为整数,x,y相对于abc左上角位置 |
| 参数 | 类型 | 说明 |
| res.result | string | "true":成功 |
getGif --getGif
支持柜面渠道
| 参数 | 类型 | 必填参数 | 说明 |
| gifId | string | √ | gifId |
| gifFilePath | string | √ | 路径 |
| 参数 | 类型 | 说明 |
| res.result | string | base64字符串 |
deleteGif --deleteGif
支持柜面渠道
| 参数 | 类型 | 必填参数 | 说明 |
| gifId | string | √ | gifId |
| 参数 | 类型 | 说明 |
| res.result | string | "true":成功删除 |
taskClientCache --定时任务加载缓存
支持柜面渠道
| 参数 | 类型 | 说明 |
| res.result | string | "true":成功 |
fileToZip1 --压缩文件夹为zip文件
支持柜面渠道
| 参数 | 类型 | 说明 |
| res.result | string | |
fileToZip2 --压缩文件列表为zip文件
支持柜面渠道
| 参数 | 类型 | 说明 |
| res.result | string | |
zipToFile --解压zip文件到指定目录
支持柜面渠道
| 参数 | 类型 | 说明 |
| res.result | string | |
startUpExe --启动本地的exe程序
支持柜面渠道