mainAccount.go 492 B

1234567891011121314151617181920
  1. package dao
  2. import (
  3. "context"
  4. v12 "go-common/app/service/main/member/api"
  5. "go-common/library/log"
  6. )
  7. // GetIdentityStatus 获取身份申请信息
  8. func (d *Dao) GetIdentityStatus(c context.Context, mid int64) (resp int8, err error) {
  9. reply, err := d.memberCli.RealnameApplyStatus(c, &v12.MemberMidReq{Mid: mid})
  10. if err != nil {
  11. log.Error("main_member_GetIdentityStatus_error:%v", err)
  12. return
  13. }
  14. log.Info("main_member_GetIdentityStatus:%v", reply)
  15. resp = reply.Status
  16. return
  17. }