xuzhiheng 4 ani în urmă
părinte
comite
91385e9b89
1 a modificat fișierele cu 4 adăugiri și 1 ștergeri
  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)
 	}
 }