Merge pull request 'by Robin at 20240514' (#432) from feat-IRONFANS-70 into main
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/432
This commit is contained in:
commit
e44b89cee8
|
@ -37,6 +37,7 @@ func (p *ZoneMoment) OpCreate(ctx *gin.Context, req *zonemomentproto.OpCreateReq
|
|||
req.ZoneMoment.Ut = goproto.Int64(time.Now().Unix())
|
||||
req.ZoneMoment.DelFlag = goproto.Int64(consts.Exist)
|
||||
req.ZoneMoment.IsHeaded = goproto.Int64(consts.IsHeaded_No) // 未置顶
|
||||
req.ZoneMoment.ThumbsUpNum = goproto.Int64(0)
|
||||
err = p.store.CreateZoneMoment(ctx, req.ZoneMoment)
|
||||
if err != nil {
|
||||
logger.Error("CreateZoneMoment fail, err: %v", err)
|
||||
|
|
Loading…
Reference in New Issue