package ik3cloud import ( "context" "git.kumo.work/shama/service/client" "git.kumo.work/shama/service/ik3cloud/constant" ) type dict struct { } type DictItem struct { Field1 any `json:"field1"` Field2 any `json:"field2"` Field3 any `json:"field3"` Field4 any `json:"field4"` Field5 any `json:"field5"` Field6 any `json:"field6"` Field7 any `json:"field7"` Field8 any `json:"field8"` } // All @TITLE 获取字典 func (d *dict) All(ctx context.Context, companyType constant.Action) (reply []DictItem, err error) { xClient, err := client.GetClient(d) if err != nil { return } err = xClient.Call(ctx, "All", companyType, &reply) return }