screenshot
Capture a screenshot of the current WeChat mini-program page. Provide a file path to save the image, or omit it to receive the image as a base64-encoded string.
Instructions
对小程序当前页面截图(传 path 保存到文件,否则返回图片 base64)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | 图片保存路径,不传则返回图片 base64 编码 |