package sandbox import ( "github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils" "github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/httpdns/httpdnsutils" ) type IndexAction struct { actionutils.ParentAction } func (this *IndexAction) Init() { this.Nav("httpdns", "sandbox", "") } func (this *IndexAction) RunGet(params struct{}) { httpdnsutils.AddLeftMenu(this.Parent()) this.Data["apps"] = []map[string]interface{}{ { "id": int64(1), "name": "主站移动业务", "appId": "ab12xc34s2", }, { "id": int64(2), "name": "视频网关业务", "appId": "vd8992ksm1", }, { "id": int64(3), "name": "海外灰度测试", "appId": "ov7711hkq9", }, } this.Show() }