...
|
...
|
@@ -69,6 +69,7 @@ export function checkUserLogedIn() { |
|
|
let fetchLogoutState = (uid) => {
|
|
|
return new UserLogoutService(app.host).fetchLogoutState(uid)
|
|
|
.then(json => {
|
|
|
json.desc = ["查询最近一年内订单超时","查询最近一年内订单超时","查询最近一年内订单超时"]
|
|
|
dispatch(fetchLogoutStatusSuccess({state:json.status, descList:json.desc}));
|
|
|
})
|
|
|
.catch(error => {
|
...
|
...
|
@@ -94,7 +95,9 @@ export function checkUserLogedIn() { |
|
|
//注销失败
|
|
|
export function gotoLogoutFaildReason() {
|
|
|
return (dispatch, getState) => {
|
|
|
let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.userLogout","params":{"title":"注销失败","type":"userLogoutFaildReason"}}`;
|
|
|
let {userLogout} = getState();
|
|
|
let {cancleFialdDesc} = userLogout;
|
|
|
let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.userLogout","params":{"title":"注销失败","type":"userLogoutFaildReason","cancleFialdDesc":`+ JSON.stringify(cancleFialdDesc.toJS()) +`}}`;
|
|
|
ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
|
|
|
}
|
|
|
}
|
...
|
...
|
|