@@ -680,8 +680,15 @@ func MyFansUserList(c *gin.Context) { | |||||
InviteTime: v["invite_time"], | InviteTime: v["invite_time"], | ||||
}) | }) | ||||
} | } | ||||
var invite int | |||||
if userRelates != nil { | |||||
invite = len(*userRelates) | |||||
} | |||||
resp := md.MyFansUserListResp{ | resp := md.MyFansUserListResp{ | ||||
List: data, | |||||
List: data, | |||||
Invited: invite, | |||||
Active: len(data), | |||||
} | } | ||||
e.OutSuc(c, resp, nil) | e.OutSuc(c, resp, nil) | ||||
@@ -335,7 +335,7 @@ func WithdrawApply(c *gin.Context) { | |||||
return | return | ||||
} | } | ||||
ch.Publish(md3.EggAppExchange, utils.SerializeStr(data), md3.EggFinWithdrawApply) | |||||
ch.Publish(md3.EggAppExchange, data, md3.EggFinWithdrawApply) | |||||
} | } | ||||
e.OutSuc(c, "success", nil) | e.OutSuc(c, "success", nil) | ||||
@@ -67,7 +67,9 @@ type OneLineUserNode struct { | |||||
} | } | ||||
type MyFansUserListResp struct { | type MyFansUserListResp struct { | ||||
List []OneLineUserNode `json:"list"` | |||||
List []OneLineUserNode `json:"list"` | |||||
Invited int `json:"invited"` | |||||
Active int `json:"active"` | |||||
} | } | ||||
type SpaceListNode struct { | type SpaceListNode struct { | ||||