...
|
...
|
@@ -220,6 +220,15 @@ limit ?`) |
|
|
return
|
|
|
}
|
|
|
|
|
|
//我点赞的
|
|
|
func GetChanceThumbup(uid int64, lastId int64, pageSize int, v interface{}) (total int, err error) {
|
|
|
sqlCount := `select count(0) from chance_favorite where user_id =? and enable_status=1 and (mark_flag&1)>0 and source_type=1`
|
|
|
if err = utils.ExecuteQueryOne(&total, sqlCount, uid); err != nil {
|
|
|
return
|
|
|
}
|
|
|
return
|
|
|
}
|
|
|
|
|
|
//我的评论
|
|
|
func GetChanceComment(uid int64, lastId int64, pageSize int, v interface{}) (total int, err error) {
|
|
|
sql := fmt.Sprintf(`select a.*,b.content commented_content,b.create_at commented_time,b.user_id commented_user_id
|
...
|
...
|
|