...
|
...
|
@@ -32,9 +32,9 @@ const findByMobileAsync = (area, mobile) => { |
|
|
*/
|
|
|
const findByEmailAsync = (email) => {
|
|
|
return api.get('', {
|
|
|
email: email,
|
|
|
method: 'app.passport.getProfileByEmail'
|
|
|
})
|
|
|
email: email,
|
|
|
method: 'app.passport.getProfileByEmail'
|
|
|
})
|
|
|
.then(result => {
|
|
|
if (!result.code || result.code !== 200 || !result.data || _.isEmpty(result.data)) {
|
|
|
return EMPTY;
|
...
|
...
|
|