zhangxinlei1996 3 жил өмнө
parent
commit
5725d10428

+ 1 - 0
api/internal/logic/entinfologic.go

@@ -46,6 +46,7 @@ func (l *EntInfoLogic) EntInfo(req *types.CheckEntReq) (resp *types.EntInfoResp,
 		ContactPhone:     res.Data.ContactPhone,
 		AuthType:         res.Data.AuthType,
 		SubmitTime:       res.Data.CreateTime,
+		AuthReason:       res.Data.AuthReason,
 	}
 	return &types.EntInfoResp{
 		Error_code: res.ErrorCode,

+ 1 - 0
api/internal/types/types.go

@@ -134,6 +134,7 @@ type EntInfo struct {
 	ContactPhone     string `json:"contactPhone"`
 	AuthType         int64  `json:"authType"`   //审核状态 1:待审核  2:审核通过 3:审核不通过
 	SubmitTime       string `json:"submitTime"` //提交时间 即库中的createtime
+	AuthReason       string `json:"authReason"`
 }
 
 type ExamineInfoReq struct {

+ 1 - 1
api/userCenter.api

@@ -142,7 +142,7 @@ type (
 		ContactPhone     string `json:"contactPhone"`
 		AuthType         int64  `json:"authType"`   //审核状态 1:待审核  2:审核通过 3:审核不通过
 		SubmitTime       string `json:"submitTime"` //提交时间 即库中的createtime
-
+		AuthReason       string `json:"authReason"`
 	}
 
 	//审核入参

+ 1 - 0
entity/ent.go

@@ -563,6 +563,7 @@ func (this *CheckEnt) Info() *EntInfoData {
 		info.AuthType = common.Int64All(data["audit_status"])
 		info.AreaNumber = GetArea(info.AreaNumber, this.Mysql)
 		info.CreateTime = common.ObjToString(data["createtime"])
+		info.AuthReason = common.ObjToString(data["auth_reason"])
 	}
 	return &info
 }

+ 1 - 1
rpc/internal/config/config.go

@@ -18,7 +18,7 @@ type Config struct {
 	Mysql            Mysql
 	Logx             logx.LogConf
 	IsRun            bool   //定时任务是否开启
-	CheckEntIsExpire string //定时任务时间
+	CheckEntIsExpire string //
 }
 
 var (

+ 1 - 0
service/entService.go

@@ -251,6 +251,7 @@ func (this *EntService) Info(data *userCenter.CheckEntReq) (int64, string, *user
 		ContactPhone:     rdata.ContactPhone,
 		AuthType:         rdata.AuthType,
 		CreateTime:       rdata.CreateTime,
+		AuthReason:       rdata.AuthReason,
 	}
 	return 0, "", entInfoData
 }