...
|
...
|
@@ -50,18 +50,15 @@ const signinByQrCode = (__1, __2, code, shoppingKey) => { // eslint-disable-line |
|
|
return api.post('', param);
|
|
|
};
|
|
|
|
|
|
const fetchByQrCode = () => {
|
|
|
const checkByQrCode = (code) => {
|
|
|
let param = {
|
|
|
method: 'app.twoDimen.getCode'
|
|
|
method: 'app.twoDimen.loginCheck',
|
|
|
code: code
|
|
|
};
|
|
|
|
|
|
return api.post('', param);
|
|
|
};
|
|
|
|
|
|
const checkByQrCode = (code) => {
|
|
|
return Promise.resolve({code: 200});
|
|
|
};
|
|
|
|
|
|
const sendPasswordBySMS = (area, mobile) => {
|
|
|
let param = {
|
|
|
method: 'app.message.sendSms',
|
...
|
...
|
@@ -110,7 +107,6 @@ module.exports = { |
|
|
signinByPasswordWithAes,
|
|
|
signinBySMS,
|
|
|
signinByQrCode,
|
|
|
fetchByQrCode,
|
|
|
checkByQrCode,
|
|
|
sendPasswordBySMS,
|
|
|
checkUserExitBySMS,
|
...
|
...
|
|