diff --git a/ik3cloud/dict.go b/ik3cloud/dict.go index 904520d..bb051af 100644 --- a/ik3cloud/dict.go +++ b/ik3cloud/dict.go @@ -34,11 +34,11 @@ type FilterItem struct { } // All @TITLE 获取字典 -func (d *dict) All(ctx context.Context, companyType constant.Action) (reply []DictItem, err error) { +func (d *dict) All(ctx context.Context, args ArgsDictAll) (reply []DictItem, err error) { xClient, err := client.GetClient(d) if err != nil { return } - err = xClient.Call(ctx, "All", companyType, &reply) + err = xClient.Call(ctx, "All", args, &reply) return }