fix
This commit is contained in:
@@ -227,7 +227,8 @@
|
||||
<section class="card code">
|
||||
<h2>接入方式</h2>
|
||||
<pre>IScan.config({
|
||||
webCanvasEnabled: true,
|
||||
webScanEnabled: true,
|
||||
webScanCanvasEnabled: true,
|
||||
webScanBeepEnabled: true,
|
||||
initWechatJssdk: {
|
||||
apiUrl: "https://your-domain.com/wechat/jssdk-config"
|
||||
@@ -245,6 +246,7 @@
|
||||
|
||||
IScan.startScan();
|
||||
IScan.scanImage();
|
||||
IScan.scanVideo();
|
||||
IScan.stopScan();</pre>
|
||||
</section>
|
||||
</main>
|
||||
@@ -316,7 +318,7 @@ IScan.stopScan();</pre>
|
||||
setStatus("initializing");
|
||||
var url = "https://vet.iqudoo.com/api?action=api.biz.wechat.JSSDKConfig";
|
||||
initSDK({
|
||||
webCanvasEnabled: true,
|
||||
webScanCanvasEnabled: true,
|
||||
webScanBeepEnabled: true,
|
||||
initWechatJssdk: { apiUrl: url }
|
||||
}, function () {
|
||||
|
||||
Reference in New Issue
Block a user