补充错误信息

This commit is contained in:
liwei1dao 2024-01-10 10:00:43 +08:00
parent 2db8e930cd
commit 3351e00d67

View File

@ -38,6 +38,10 @@ func (this *apiComp) Info(session comm.IUserSession, req *pb.BuriedInfoReq) (err
for _, items := range buried.Items {
for _, v := range items.Condi {
if conf, err = this.module.configure.getburiedcondidata(v.Conid); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ConfigNoFound,
Message: err.Error(),
}
return
}
conditions = append(conditions, comm.GetBuriedConIProgress(conf, v))