|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
$(function () {
|
|
|
|
|
let $container = $('.qr-img-box')[0];
|
|
|
|
|
let cardFrame = window.channel_account_id ? TokenInputFrame($container, window.channel_account_id) : CardInputFrame($container);
|
|
|
|
|
let cardFrame = window.channel_account_id ? new TokenInputFrame($container, window.channel_account_id) : new CardInputFrame($container);
|
|
|
|
|
cardFrame.onSuccess = function (secretData) {
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: 'commit',
|
|
|
|
|