type ( //信息发布 pubInfoReq { Title string `json:"title"` MsgType int64 `json:"msgType,options=1|2|3"` RelatedId string `json:"relatedId,optional"` Code string `json:"code,optional"` Province string `json:"province,optional"` City string `json:"city,optional"` Industry []string `json:"industry,optional"` Buyer string `json:"buyer,optional"` Budget float64 `json:"budget,optional"` Winner string `json:"winner,optional"` Amount float64 `json:"amount,optional"` Detail string `json:"detail"` Attach map[string]interface{} `json:"attach,optional"` Contact Contact `json:"contact"` AppId string `json:"appId"` EntId int64 `json:"entId"` UserId string `json:"userId"` ValidityTime string `json:"validityTime,optional"` Phone string `json:"phone"` EntName string `json:"entName,optional"` } Contact { Person string `json:"person"` Phone string `json:"phone"` Overt int64 `json:"overt"` } myPublishListReq { UserId string `json:"userId"` AppId string `json:"appId"` Match string `json:"match,optional"` MsgType int64 `json:"msgType,optional"` ReviewStatus string `json:"reviewStatus,optional"` PageSize int `json:"pageSize,optional,default=10"` PageIndex int `json:"pageIndex,optional,default=1"` EntId int64 `json:"entId"` } myPublishCommonReq { MsgId string `json:"msgId"` UserId string `json:"userId"` Type int64 `json:"type"` //处理信息类型:([前端用户:]0:获取发布信息详情(默认);1:删除发布的信息;)(()[管理后台:]1:管理后台一键敏感词过滤;1:管理后台一键发布) MsgType int64 `json:"msgType,optional"` AppId string `json:"appId"` } reviewCommonReq { AppId string `json:"appId"` MsgId string `json:"msgId"` Type int64 `json:"type"` } infoListReq { AppId string `json:"appId"` MsgType int `json:"msgType,optional"` PhoneType int `json:"phoneType,optional"` Phone string `json:"phone,optional"` ReviewStatus int `json:"reviewStatus,optional"` ApplyStartTime string `json:"applyStartTime,optional"` ApplyEndTime string `json:"applyEndTime,optional"` PageSize int64 `json:"pageSize"` PageIndex int64 `json:"pageIndex"` IsDel string `json:"isDel,optional"` Published int64 `json:"published,optional"` } infoExamineReq { MsgId string `json:"msgId"` AppId string `json:"appId"` ReviewStatus int64 `json:"reviewStatus"` ReviewDetail string `json:"reviewDetail,optional"` MsgType int64 `json:"msgType"` Auditor string `json:"auditor"` } assProjecctReq { UserId string `json:"userId"` AppId string `json:"appId"` Match string `json:"match"` MsgType int64 `json:"msgType"` EntId int64 `json:"entId"` Type int64 `json:"type"` } pubSupplyInfoReq { Keywords string `json:"keywords"` SearchType string `json:"searchType"` Province string `json:"province,optional"` City string `json:"city,optional"` Time string `json:"time,optional"` Status string `json:"status,optional"` PageSize int64 `json:"pageSize,optional"` PageIndex int64 `json:"pageIndex,optional"` } supplyInfoDetailReq { MsgId string `json:"msgId"` MsgType int64 `json:"msgType"` } //附件上传 uploadReq { FileName string `json:"fileName,optional"` } //附件删除 infoFileDelReq { FileName string `json:"fileName,optional"` //附件名称 FileId string `json:"fileId,optional"` //附件key } commonReq { UserId string `json:"userId,optional"` EntId int64 `json:"entId,optional"` AppId string `json:"appId"` Match string `json:"match,optional"` MsgType int64 `json:"msgType,optional"` } commonRes { Err_code int `json:"error_code"` Err_msg string `json:"error_msg"` Data interface{} `json:"data"` } ) service Info-api { //信息发布(招标信息、采购信息) @handler pubInfo post /jyinfo/publish/biddingInfo (pubInfoReq) returns (commonRes) //信息发布(供应信息) @handler pubSupplyInfo post /jyinfo/publish/supplyInfo (pubInfoReq) returns (commonRes) //供应信息详情 @handler supplyInfoDetail post /jyinfo/supplyInfoDetail (supplyInfoDetailReq) returns (commonRes) //供应信息搜索 @handler supplySearch post /jyinfo/supplySearch (pubSupplyInfoReq) returns (commonRes) //已信息发布数量 @handler pubInfoCount post /jyinfo/publishStatus (commonReq) returns (commonRes) //关联项目联想 @handler assProjecct post /jyinfo/pushedRelated (assProjecctReq) returns (commonRes) //获取省市列表 @handler getProvince post /jyinfo/getArea returns (commonRes) //获取行业列表 @handler getIndustry post /jyinfo/getIndustry returns (commonRes) //我的发布列表 @handler myPublishList post /jyinfo/myPublishList (myPublishListReq) returns (commonRes) //我发布的信息详情 @handler myPublishDetail post /jyinfo/myPublishDetail (myPublishCommonReq) returns (commonRes) //删除我发布的信息 @handler delMyPublish post /jyinfo/delMyPublish (myPublishCommonReq) returns (commonRes) //信息审核状态查询 @handler reviewStatus post /jyinfo/reviewStatus (reviewCommonReq) returns (commonRes) //附件上传 @handler upload post /jyinfo/infoFile/upload (uploadReq) returns (commonRes) //附件删除 @handler infoFileDel post /jyinfo/infoFileDel (infoFileDelReq) returns (commonRes) //管理后台获取信息列表 @handler infoList post /jyinfo/manage/infoList (infoListReq) returns (commonRes) //管理后台信息详情 @handler infoDetail post /jyinfo/manage/infoDetail (reviewCommonReq) returns (commonRes) //管理后台审核 @handler infoExamine post /jyinfo/manage/infoExamine (infoExamineReq) returns (commonRes) //管理后台审核 @handler organFrozen post /jyinfo/manage/organFrozen (commonReq) returns (commonRes) //一键敏感词过滤Filter&一键发布Publish @handler oneKeyAction post /jyinfo/manage/oneKeyAction (myPublishCommonReq) returns (commonRes) }