# 系统分享js调用方法
系统分享非官方提供接口,可不申请权限。同样也没有回调。
苹果纯文本分享(SystemShareTxt)只支持填写网址链接,不支持纯文本。
### BSL.SystemShareTxt(content); //纯文本分享
| 参数 | 必填 | 说明 |
| --- | --- | --- |
| content | 是 | 分享的文本内容 |
~~~
<a href="#" onclick="BSL.SystemShareTxt('系统分享测试')">纯文本分享</a>
~~~
* * *
### BSL.SystemShareImg(image); //单图分享
| 参数 | 必填 | 说明 |
| --- | --- | --- |
| image | 是 | 分享的图片链接 |
~~~
<a href="#" onclick="BSL.SystemShareImg('http://qiniu.xxxxx.com/sources/94830/329681/qr_test.png')">单图分享</a>
~~~
* * *
### BSL.SystemShareImgs(images); //多图分享
| 参数 | 必填 | 说明 |
| --- | --- | --- |
| images | 是 | 分享的图片链接字符串数组 |
~~~
<script>
function SharedImg(){
var data = ["http://www.xxxxx.cn/demo/img/share1.png",
"http://www.xxxx.cn/demo/img/share2.png",
"http://www.xxxxx.cn/demo/img/share3.png",
"http://www.xxxxx.cn/demo/img/share4.png"];
BSL.SystemShareImgs(data);
}
</script>
<a href="#" onclick="SharedImg()">多图分享</a>
~~~