|
|
/**
|
|
|
* Created by TaoHuang on 2016/12/12.
|
|
|
*/
|
|
|
|
|
|
/* eslint-disable */
|
|
|
var $ = require('yoho-jquery');
|
|
|
|
|
|
require('../common/promise');
|
...
|
...
|
@@ -88,9 +88,9 @@ GeeCaptcha.prototype = { |
|
|
return $.Deferred().reject().promise(); // eslint-disable-line
|
|
|
}
|
|
|
|
|
|
//return $.post('/passport/geetest/validate', {
|
|
|
// return $.post('/passport/geetest/validate', {
|
|
|
// verifyCode: _this.getResults()
|
|
|
//}).then(function(result) {
|
|
|
// }).then(function(result) {
|
|
|
// if (result.code === 200) {
|
|
|
// _this.hideTip();
|
|
|
// return $.Deferred().resolve().promise(); // eslint-disable-line
|
...
|
...
|
@@ -101,7 +101,7 @@ GeeCaptcha.prototype = { |
|
|
// _this.showTip(result.message);
|
|
|
// return $.Deferred().reject().promise(); //eslint-disable-line
|
|
|
// }
|
|
|
//});
|
|
|
// });
|
|
|
|
|
|
return $.Deferred().resolve().promise(); // eslint-disable-line
|
|
|
},
|
...
|
...
|
@@ -141,5 +141,5 @@ GeeCaptcha.prototype = { |
|
|
|
|
|
GeeCaptcha.prototype.construct = GeeCaptcha;
|
|
|
|
|
|
|
|
|
module.exports = GeeCaptcha;
|
|
|
/* eslint-enable */ |
...
|
...
|
|