|
@@ -200,7 +200,7 @@ export function gotoOnlineService() { |
|
@@ -200,7 +200,7 @@ export function gotoOnlineService() { |
200
|
|
200
|
|
201
|
export function naviBackAction() {
|
201
|
export function naviBackAction() {
|
202
|
return (dispatch, getState) => {
|
202
|
return (dispatch, getState) => {
|
203
|
- ReactNative.NativeModules.YH_UserLogoutHelper.popBackCallBack();
|
203
|
+ ReactNative.NativeModules.YH_CommonHelper.popBackCallBack();
|
204
|
}
|
204
|
}
|
205
|
}
|
205
|
}
|
206
|
|
206
|
|
|
@@ -240,9 +240,9 @@ export function fetchUserProfile() { |
|
@@ -240,9 +240,9 @@ export function fetchUserProfile() { |
240
|
let fetchUserInfo = (uid) => {
|
240
|
let fetchUserInfo = (uid) => {
|
241
|
return new UserLogoutService(app.host).fetchUserProfile(uid)
|
241
|
return new UserLogoutService(app.host).fetchUserProfile(uid)
|
242
|
.then(json => {
|
242
|
.then(json => {
|
243
|
- let mobile = json.mobile;
|
|
|
244
|
- let mobileLength = mobile.length;
|
|
|
245
|
- if (mobile && mobileLength == 11) {
|
243
|
+ let hasMobile = json.hasMobile;
|
|
|
244
|
+ if (hasMobile && hasMobile == 'Y') {
|
|
|
245
|
+ dispatch(setValidMobileState(true));
|
246
|
dispatch(setValidMobileState(true));
|
246
|
dispatch(setValidMobileState(true));
|
247
|
}else {
|
247
|
}else {
|
248
|
dispatch(setValidMobileState(false));
|
248
|
dispatch(setValidMobileState(false));
|