@@ -67,6 +67,12 @@
function (res) {/* callback */
if (res.ret === 0) {
// that.countDown();
+ if (that.isiOS) {
+ window.webkit.messageHandlers.returnVerificationCode.postMessage(res.ret.toString());
+ }
+ if (that.isAndroid) {
+ window.hap.verificationCode(res.ret.toString());
postAction(getCaptchaCode, {
ticket: res.ticket,
randstr: res.randstr,