作者 yangfu

消息修改

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