作者 yangfu

消息修改

... ... @@ -150,6 +150,7 @@ from audit_flow_process where uid=? and enable_status =1 and review_status in (%
}
func GetChancePool(uid, cid int64, chanceTypeId int, lastId int64, pageSize int, v interface{}) (total int, err error) {
sql := `select a.*,b.images,speechs,videos
from (
select id,user_id,create_at,source_content,review_status,audit_template_id,chance_type_id,comment_total,zan_total,view_total from chance
... ...
... ... @@ -272,7 +272,7 @@ type MsgChanceApproveItemOrm struct {
ReceiveUserId int64 `orm:"column(receive_user_id)"`
CreateTime time.Time `orm:"column(create_at)"`
Message string `orm:"column(message)"`
IsRead int64 `orm:"column(isRead)"`
IsRead int64 `orm:"column(is_read)"`
ChanceId int64 `orm:"column(chance_id)"` // 机会id
//EnableStatus int `orm:"column(enable_status)"`
}
... ...