xuzhiheng 4 éve
szülő
commit
91385e9b89
1 módosított fájl, 4 hozzáadás és 1 törlés
  1. 4 1
      service/concurrentTest.go

+ 4 - 1
service/concurrentTest.go

@@ -21,7 +21,10 @@ func GetConcurrentData(appid string, productId int, c *gin.Context) {
 		}, "", "", true)
 	} else {
 		utils.Check(appid, productId, c, func() ([]map[string]interface{}, int, error) {
-			return []map[string]interface{}{}, 200, nil
+			datas := []map[string]interface{}{map[string]interface{}{
+				"title": "中铁十五局集团有限公司",
+			}}
+			return datas, 200, nil
 		}, "", "", true)
 	}
 }