1
This commit is contained in:
parent
5d59e9605d
commit
7a96d0874c
@ -148,8 +148,22 @@ func (this *friendMgr) getBlacks(accountId string) *map[string]int32 {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (this *friendMgr) AsyncGetApplyList(int64, string, func(int32, string, int64, []string)) {
|
||||
func (this *friendMgr) AsyncGetApplyList(idx int64, accountId string, cb func(int32, string, int64, []string)) {
|
||||
f5.GetJsStyleDb().PageQuery(
|
||||
constant.FRIEND_DB,
|
||||
50,
|
||||
0,
|
||||
"SELECT * FROM t_friend_apply",
|
||||
[]string{},
|
||||
f5.GetDbFilter().Comp(
|
||||
f5.GetDbFilter().GT("idx", q5.ToString(idx)).And(),
|
||||
f5.GetDbFilter().EQ("target_id", accountId).And(),
|
||||
f5.GetDbFilter().EQ("status", "0"),
|
||||
),
|
||||
"",
|
||||
func (err error, pg *f5.Pagination) {
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
func (this *friendMgr) AsyncAddFriend(senderId string, targetId string, cb func(int32, string)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user