|
|
|
@@ -713,6 +713,20 @@ func GetCloudbrainsDetailData(ctx *context.Context) { |
|
|
|
if cloudBrainType == models.TypeCDCenter && aiCenter == models.AICenterOfChengdu { |
|
|
|
aiCenter = "" |
|
|
|
} |
|
|
|
if cloudBrainType == models.TypeCloudBrainAll { |
|
|
|
if aiCenter == models.AICenterOfCloudBrainOne { |
|
|
|
cloudBrainType = models.TypeCloudBrainOne |
|
|
|
aiCenter = "" |
|
|
|
} |
|
|
|
if aiCenter == models.AICenterOfCloudBrainTwo { |
|
|
|
cloudBrainType = models.TypeCloudBrainTwo |
|
|
|
aiCenter = "" |
|
|
|
} |
|
|
|
if aiCenter == models.AICenterOfChengdu { |
|
|
|
cloudBrainType = models.TypeCDCenter |
|
|
|
aiCenter = "" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
page := ctx.QueryInt("page") |
|
|
|
pageSize := ctx.QueryInt("pagesize") |
|
|
|
|