shenjiachi 1 settimana fa
parent
commit
74eb6602dd
3 ha cambiato i file con 12 aggiunte e 3 eliminazioni
  1. +8
    -1
      app/hdl/hdl_add_friend.go
  2. +1
    -1
      app/hdl/hdl_wallet.go
  3. +3
    -1
      app/md/md_add_friend.go

+ 8
- 1
app/hdl/hdl_add_friend.go Vedi 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 Vedi 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 Vedi 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 {


Caricamento…
Annulla
Salva