|
|
'use strict';
|
|
|
const _ = require('lodash');
|
|
|
let captchaData = require('../passport/data/captcha.json');
|
|
|
let captchaData = require('../data/captcha.json');
|
|
|
|
|
|
// let api = global.yoho.API;
|
|
|
/**
|
...
|
...
|
@@ -36,5 +36,5 @@ exports.gen = () => { |
|
|
return Promise.resolve({
|
|
|
code: 200,
|
|
|
data: captchaData[random]
|
|
|
})
|
|
|
});
|
|
|
}; |
...
|
...
|
|