go-common/app/job/bbq/video/dao/comment.go
2019-04-22 18:49:16 +08:00

14 lines
323 B
Go

package dao
import (
"context"
"go-common/library/net/metadata"
)
//ReplyReg 评论注册/冻结
func (d *Dao) ReplyReg(c context.Context, req map[string]interface{}) (err error) {
ip := metadata.String(c, metadata.RemoteIP)
_, err = replyHTTPCommon(c, d.HTTPClient, d.c.URLs["reply_reg"], "POST", req, ip)
return
}