You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.3 KiB
42 lines
1.3 KiB
<!--index.wxml-->
|
|
<view class="container">
|
|
|
|
<view class="guide">
|
|
<text class="headline">开放数据调用</text>
|
|
<text class="p">通过 cloudID 获取敏感开放数据有以下两种方式</text>
|
|
<text class="p">1. 小程序端 callFunction 自动获取</text>
|
|
<text class="p">2. 通过 wx-server-sdk 获取</text>
|
|
<text class="p">以下分别先后展示这两种获取方式</text>
|
|
</view>
|
|
|
|
<view class="uploader">
|
|
<button class="uploader-text" bindtap="onGetWeRunData">getWeRunData 敏感数据获取</button>
|
|
</view>
|
|
|
|
<view class="guide">
|
|
<text class="headline">测试须知</text>
|
|
<text class="p">1. 公共库版本需大于 2.7.0</text>
|
|
<text class="p">2. 请确保 echo 函数已上传</text>
|
|
</view>
|
|
|
|
<view class="guide" style="word-break: break-all">
|
|
{{weRunResult}}
|
|
</view>
|
|
|
|
|
|
<view class="uploader">
|
|
<button class="uploader-text" open-type="getUserInfo" bindgetuserinfo="onGetUserInfo">getUserInfo 敏感数据获取</button>
|
|
</view>
|
|
|
|
<view class="guide">
|
|
<text class="headline">测试须知</text>
|
|
<text class="p">1. 公共库版本需大于 2.7.0</text>
|
|
<text class="p">2. 请确保 openapi 函数已上传</text>
|
|
</view>
|
|
|
|
<view class="guide" style="word-break: break-all">
|
|
{{userInfoResult}}
|
|
</view>
|
|
|
|
</view>
|