|
@@ -23,6 +23,9 @@ func ProjectApiRegister(router *gin.Engine) {
|
|
routerGroup.POST("/projectDetail", getProjectDetail)
|
|
routerGroup.POST("/projectDetail", getProjectDetail)
|
|
routerGroup.POST("/projectListDetail", getProjectsListDetail)
|
|
routerGroup.POST("/projectListDetail", getProjectsListDetail)
|
|
routerGroup.POST("/callLog", callLog)
|
|
routerGroup.POST("/callLog", callLog)
|
|
|
|
+ routerGroup.POST("/biddingInfoList", biddingInfoList)
|
|
|
|
+ routerGroup.POST("/healthInfoList", healthInfoList)
|
|
|
|
+ routerGroup.POST("/healthinfo", healthinfo)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -111,3 +114,45 @@ func callLog(c *gin.Context) {
|
|
response.FailWithDetailed(response.QueryError, datas, "系统查询异常", c)
|
|
response.FailWithDetailed(response.QueryError, datas, "系统查询异常", c)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+func biddingInfoList(c *gin.Context) {
|
|
|
|
+ productID := c.MustGet("productID").(int)
|
|
|
|
+ appID := c.MustGet("appID").(string)
|
|
|
|
+ requestIP := c.MustGet("requestIP").(string)
|
|
|
|
+ p := gin.H{
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ bs, _ := json.Marshal(p)
|
|
|
|
+ param := string(bs)
|
|
|
|
+ utils.Check(appID, productID, c, func() ([]map[string]interface{}, int, error) {
|
|
|
|
+ return service.ProjectInfo()
|
|
|
|
+ }, param, requestIP, false)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func healthInfoList(c *gin.Context) {
|
|
|
|
+ productID := c.MustGet("productID").(int)
|
|
|
|
+ appID := c.MustGet("appID").(string)
|
|
|
|
+ requestIP := c.MustGet("requestIP").(string)
|
|
|
|
+ p := gin.H{
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ bs, _ := json.Marshal(p)
|
|
|
|
+ param := string(bs)
|
|
|
|
+ utils.Check(appID, productID, c, func() ([]map[string]interface{}, int, error) {
|
|
|
|
+ return service.ProjectInfo()
|
|
|
|
+ }, param, requestIP, false)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func healthinfo(c *gin.Context) {
|
|
|
|
+ productID := c.MustGet("productID").(int)
|
|
|
|
+ appID := c.MustGet("appID").(string)
|
|
|
|
+ requestIP := c.MustGet("requestIP").(string)
|
|
|
|
+ p := gin.H{
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ bs, _ := json.Marshal(p)
|
|
|
|
+ param := string(bs)
|
|
|
|
+ utils.Check(appID, productID, c, func() ([]map[string]interface{}, int, error) {
|
|
|
|
+ return service.ProjectInfo()
|
|
|
|
+ }, param, requestIP, false)
|
|
|
|
+}
|