|
@@ -66,6 +66,13 @@ export function goToMessageCenter() { |
|
@@ -66,6 +66,13 @@ export function goToMessageCenter() { |
66
|
};
|
66
|
};
|
67
|
}
|
67
|
}
|
68
|
|
68
|
|
|
|
69
|
+export function goToSetting() {
|
|
|
70
|
+ Actions.Setting();
|
|
|
71
|
+ return {
|
|
|
72
|
+ type: GO_TO_SETTING,
|
|
|
73
|
+ };
|
|
|
74
|
+}
|
|
|
75
|
+
|
69
|
export function userDidLogout() {
|
76
|
export function userDidLogout() {
|
70
|
return {
|
77
|
return {
|
71
|
type: USER_DID_LOGOUT,
|
78
|
type: USER_DID_LOGOUT,
|
|
@@ -708,7 +715,7 @@ function parseReply(json) { |
|
@@ -708,7 +715,7 @@ function parseReply(json) { |
708
|
let self = {
|
715
|
let self = {
|
709
|
avatar: reply && reply.headIcon ? reply.headIcon : '',
|
716
|
avatar: reply && reply.headIcon ? reply.headIcon : '',
|
710
|
backgroundImage: reply && reply.bgPic ? reply.bgPic : '',
|
717
|
backgroundImage: reply && reply.bgPic ? reply.bgPic : '',
|
711
|
- uid: reply && reply.uid ? reply.uid : '',
|
718
|
+ uid: reply && reply.uid ? reply.uid : 0,
|
712
|
name: reply && reply.nickName ? reply.nickName : '',
|
719
|
name: reply && reply.nickName ? reply.nickName : '',
|
713
|
signature: reply && reply.signature ? reply.signature : '',
|
720
|
signature: reply && reply.signature ? reply.signature : '',
|
714
|
};
|
721
|
};
|