Sfoglia il codice sorgente

fix:阳光采购信息发布相关需求修改

duxin 9 mesi fa
parent
commit
622a6087c8
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 2 2
      api/internal/types/types.go
  2. 1 1
      api/jyinfo.api

+ 2 - 2
api/internal/types/types.go

@@ -4,7 +4,7 @@ package types
 type Contact struct {
 	Person string `json:"person"`
 	Phone  string `json:"phone"`
-	Overt  int64  `json:"overt"`
+	Overt  int64  `json:"overt,optional"`
 }
 
 type AssProjecctReq struct {
@@ -106,7 +106,7 @@ type PubInfoReq struct {
 	Contact   struct {
 		Person string `json:"person"`
 		Phone  string `json:"phone"`
-		Overt  int64  `json:"overt"`
+		Overt  int64  `json:"overt,optional"`
 	} `json:"contact"`
 	AppId              string `header:"appId"`
 	EntId              int64  `header:"entId"`

+ 1 - 1
api/jyinfo.api

@@ -28,7 +28,7 @@ type (
 	Contact {
 		Person string `json:"person"`
 		Phone  string `json:"phone"`
-		Overt  int64  `json:"overt"`
+		Overt  int64  `json:"overt,optional"`
 	}
 	myPublishListReq {
 		UserId       string `header:"userId"`