comment.go 323 B

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