This website works better with JavaScript.
Home
Explore
Help
Sign In
EggPlanet
/
egg_app
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
update
tmp
shenjiachi
1 week ago
parent
f2075e639d
commit
74eb6602dd
3 changed files
with
12 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-1
app/hdl/hdl_add_friend.go
+1
-1
app/hdl/hdl_wallet.go
+3
-1
app/md/md_add_friend.go
+ 8
- 1
app/hdl/hdl_add_friend.go
View File
@@ -680,8 +680,15 @@ func MyFansUserList(c *gin.Context) {
InviteTime: v["invite_time"],
})
}
var invite int
if userRelates != nil {
invite = len(*userRelates)
}
resp := md.MyFansUserListResp{
List: data,
List: data,
Invited: invite,
Active: len(data),
}
e.OutSuc(c, resp, nil)
+ 1
- 1
app/hdl/hdl_wallet.go
View File
@@ -335,7 +335,7 @@ func WithdrawApply(c *gin.Context) {
return
}
ch.Publish(md3.EggAppExchange,
utils.SerializeStr(
data
)
, md3.EggFinWithdrawApply)
ch.Publish(md3.EggAppExchange, data, md3.EggFinWithdrawApply)
}
e.OutSuc(c, "success", nil)
+ 3
- 1
app/md/md_add_friend.go
View File
@@ -67,7 +67,9 @@ type OneLineUserNode struct {
}
type MyFansUserListResp struct {
List []OneLineUserNode `json:"list"`
List []OneLineUserNode `json:"list"`
Invited int `json:"invited"`
Active int `json:"active"`
}
type SpaceListNode struct {
Write
Preview
Loading…
Cancel
Save