|
@@ -2,6 +2,7 @@ package controllers
|
|
|
|
|
|
import (
|
|
|
"encoding/json"
|
|
|
+ "fmt"
|
|
|
"hongze/hongze_cygx/models"
|
|
|
"time"
|
|
|
)
|
|
@@ -122,3 +123,20 @@ func (this *ConfigController) DescriptionOfResearch() {
|
|
|
br.Success = true
|
|
|
br.Data = resp
|
|
|
}
|
|
|
+
|
|
|
+type ChartPermissionRepMore struct {
|
|
|
+ PermissionName string `description:"名称"`
|
|
|
+}
|
|
|
+
|
|
|
+func init() {
|
|
|
+ var list []*ChartPermissionRepMore
|
|
|
+ Lista := []*ChartPermissionRepMore{{PermissionName: "A"}, {PermissionName: "A"}, {PermissionName: "A"}, {PermissionName: "A"}}
|
|
|
+ Listb := []*ChartPermissionRepMore{{PermissionName: "B"}, {PermissionName: "B"}, {PermissionName: "B"}, {PermissionName: "B"}}
|
|
|
+
|
|
|
+ for _, v := range Lista {
|
|
|
+ list = append(list, v)
|
|
|
+ }
|
|
|
+ fmt.Println("来了呀")
|
|
|
+ fmt.Println(Listb)
|
|
|
+ fmt.Println(list)
|
|
|
+}
|