| 12345678910111213141516171819 |
- package route
- import (
- "opennamu/route/tool"
- )
- func Api_list_acl(config tool.Config) string {
- other_set := map[string]string{}
- json.Unmarshal([]byte(config.Other_set), &other_set)
- data := tool.List_acl(other_set["type"])
- return_data := make(map[string]any)
- return_data["response"] = "ok"
- return_data["data"] = data
- json_data, _ := json.Marshal(return_data)
- return string(json_data)
- }
|