<?php

return ["title" => "技术支持", "item" => ["getTickets" => ["title" => "工单列表", "desc" => "工单列表", "url" => "/v1/tickets", "method" => "GET", "auth" => "开发者", "version" => "v1", "param" => [], "return" => [["name" => "total", "type" => "int", "require" => "", "max" => "-", "desc" => "数据条数", "example" => "1", "child" => []], ["name" => "list", "type" => "array[]", "require" => "", "max" => "-", "desc" => "工单列表", "example" => "[{\"id\":1,\"uid\":1,\"department_id\":1,\"host_id\":1,\"name\":\"example\",\"email\":\"example\",\"title\":\"example\",\"content\":\"example\",\"status\":\"Active\",\"priority\":\"high\",\"admin\":\"example\",\"department_name\":\"example\",\"product_name\":\"example\",\"create_time\":1639979575,\"update_time\":1639979575,\"last_reply_time\":1639979575}]", "child" => [["name" => "id", "type" => "int", "require" => "", "max" => "-", "desc" => "工单ID", "example" => "1", "child" => []], ["name" => "uid", "type" => "int", "require" => "", "max" => "-", "desc" => "用户ID", "example" => "1", "child" => []], ["name" => "department_id", "type" => "int", "require" => "", "max" => "-", "desc" => "部门ID", "example" => "1", "child" => []], ["name" => "host_id", "type" => "int", "require" => "", "max" => "-", "desc" => "产品ID", "example" => "1", "child" => []], ["name" => "name", "type" => "string", "require" => "", "max" => "-", "desc" => "姓名", "example" => "example", "child" => []], ["name" => "email", "type" => "string", "require" => "", "max" => "-", "desc" => "邮箱", "example" => "example", "child" => []], ["name" => "title", "type" => "string", "require" => "", "max" => "-", "desc" => "标题", "example" => "example", "child" => []], ["name" => "content", "type" => "string", "require" => "", "max" => "-", "desc" => "内容", "example" => "example", "child" => []], ["name" => "status", "type" => "string", "require" => "", "max" => "-", "desc" => "状态", "example" => "Active", "child" => []], ["name" => "priority", "type" => "string", "require" => "", "max" => "-", "desc" => "优先级", "example" => "high", "child" => []], ["name" => "admin", "type" => "string", "require" => "", "max" => "-", "desc" => "管理员", "example" => "example", "child" => []], ["name" => "department_name", "type" => "string", "require" => "", "max" => "-", "desc" => "部门名称", "example" => "example", "child" => []], ["name" => "product_name", "type" => "string", "require" => "", "max" => "-", "desc" => "商品名称", "example" => "example", "child" => []], ["name" => "create_time", "type" => "int", "require" => "", "max" => "-", "desc" => "创建时间", "example" => "1639979575", "child" => []], ["name" => "update_time", "type" => "int", "require" => "", "max" => "-", "desc" => "更新时间", "example" => "1639979575", "child" => []], ["name" => "last_reply_time", "type" => "int", "require" => "", "max" => "-", "desc" => "最后回复时间", "example" => "1639979575", "child" => []]]]]], "ticketDetail" => ["title" => "工单详情", "desc" => "工单详情", "url" => "/v1/tickets/:id", "method" => "GET", "auth" => "开发者", "version" => "v1", "param" => [], "return" => [["name" => "reply", "type" => "array[]", "require" => "", "max" => "-", "desc" => "回复", "example" => "[{\"id\":1,\"uid\":1,\"user\":\"example\",\"description\":\"example\",\"ipaddr\":\"192.168.1.1\",\"port\":443,\"create_time\":1639979575}]", "child" => [["name" => "type", "type" => "string", "require" => "", "max" => "-", "desc" => "类型:reply回复,ticket合并的工单", "example" => "reply", "child" => []], ["name" => "attachment", "type" => "string", "require" => "", "max" => "-", "desc" => "附件", "example" => "example", "child" => []], ["name" => "content", "type" => "string", "require" => "", "max" => "-", "desc" => "内容", "example" => "example", "child" => []], ["name" => "user_type", "type" => "string", "require" => "", "max" => "-", "desc" => "用户类型:user用户,admin管理员", "example" => "user", "child" => []], ["name" => "user", "type" => "string", "require" => "", "max" => "-", "desc" => "用户", "example" => "example", "child" => []], ["name" => "create_time", "type" => "int", "require" => "", "max" => "-", "desc" => "创建时间", "example" => "1639979575", "child" => []]]], ["name" => "ticket", "type" => "array[]", "require" => "", "max" => "-", "desc" => "工单", "example" => "{\"id\":1,\"uid\":1,\"department_id\":1,\"host_id\":1,\"name\":\"example\",\"email\":\"example\",\"title\":\"example\",\"content\":\"example\",\"status\":\"Active\",\"priority\":\"high\",\"admin\":\"example\",\"department_name\":\"example\",\"product_name\":\"example\",\"create_time\":1639979575,\"update_time\":1639979575,\"last_reply_time\":1639979575}", "child" => [["name" => "id", "type" => "int", "require" => "", "max" => "-", "desc" => "工单ID", "example" => "1", "child" => []], ["name" => "uid", "type" => "int", "require" => "", "max" => "-", "desc" => "用户ID", "example" => "1", "child" => []], ["name" => "department_id", "type" => "int", "require" => "", "max" => "-", "desc" => "部门ID", "example" => "1", "child" => []], ["name" => "host_id", "type" => "int", "require" => "", "max" => "-", "desc" => "产品ID", "example" => "1", "child" => []], ["name" => "name", "type" => "string", "require" => "", "max" => "-", "desc" => "姓名", "example" => "example", "child" => []], ["name" => "email", "type" => "string", "require" => "", "max" => "-", "desc" => "邮箱", "example" => "example", "child" => []], ["name" => "title", "type" => "string", "require" => "", "max" => "-", "desc" => "标题", "example" => "example", "child" => []], ["name" => "content", "type" => "string", "require" => "", "max" => "-", "desc" => "内容", "example" => "example", "child" => []], ["name" => "status", "type" => "string", "require" => "", "max" => "-", "desc" => "状态", "example" => "Active", "child" => []], ["name" => "priority", "type" => "string", "require" => "", "max" => "-", "desc" => "优先级", "example" => "high", "child" => []], ["name" => "admin", "type" => "string", "require" => "", "max" => "-", "desc" => "管理员", "example" => "high", "child" => []], ["name" => "department_name", "type" => "string", "require" => "", "max" => "-", "desc" => "部门名称", "example" => "example", "child" => []], ["name" => "product_name", "type" => "string", "require" => "", "max" => "-", "desc" => "商品名称", "example" => "example", "child" => []], ["name" => "create_time", "type" => "int", "require" => "", "max" => "-", "desc" => "创建时间", "example" => "1639979575", "child" => []], ["name" => "update_time", "type" => "int", "require" => "", "max" => "-", "desc" => "更新时间", "example" => "1639979575", "child" => []], ["name" => "last_reply_time", "type" => "int", "require" => "", "max" => "-", "desc" => "最后回复时间", "example" => "1639979575", "child" => []]]]]], "getOpenTicketPage" => ["title" => "工单提交页面", "desc" => "工单提交页面", "url" => "/v1/tickets/page", "method" => "GET", "auth" => "开发者", "version" => "v1", "param" => [], "return" => [["name" => "host", "type" => "array[]", "require" => "", "max" => "-", "desc" => "产品", "example" => "[{\"id\":1,\"product_name\":\"example\",\"name\":\"example\",\"status\":\"Active\",\"ip\":\"192.168.1.1\"}]", "child" => [["name" => "id", "type" => "int", "require" => "", "max" => "-", "desc" => "产品ID", "example" => "1", "child" => []], ["name" => "product_name", "type" => "string", "require" => "", "max" => "-", "desc" => "商品名称", "example" => "example", "child" => []], ["name" => "name", "type" => "string", "require" => "", "max" => "-", "desc" => "名称", "example" => "example", "child" => []], ["name" => "status", "type" => "string", "require" => "", "max" => "-", "desc" => "状态:Pending待开通,Active已激活,Suspended暂停", "example" => "Active", "child" => []], ["name" => "ip", "type" => "string", "require" => "", "max" => "-", "desc" => "IP", "example" => "192.168.1.1", "child" => []]]], ["name" => "priority", "type" => "array[]", "require" => "", "max" => "-", "desc" => "优先度:low低,medium中,high高", "example" => "[\"low\",\"medium\",\"high\"]", "child" => []], ["name" => "department", "type" => "array[]", "require" => "", "max" => "-", "desc" => "部门", "example" => "[{\"id\":1,\"name\":\"example\",\"custom_fields\":[{\"id\":1,\"name\":\"example\",\"type\":\"dropdown\",\"description\":\"example\",\"options\":[\"a\",\"b\",\"c\"],\"regexpr\":\"example\",\"required\":1}]", "child" => [["name" => "id", "type" => "int", "require" => "", "max" => "-", "desc" => "ID", "example" => "1", "child" => []], ["name" => "name", "type" => "string", "require" => "", "max" => "-", "desc" => "名称", "example" => "example", "child" => []], ["name" => "custom_fields", "type" => "array[]", "require" => "", "max" => "-", "desc" => "自定义字段", "example" => "[{\"id\":1,\"name\":\"example\",\"type\":\"dropdown\",\"description\":\"example\",\"options\":[\"a\",\"b\",\"c\"],\"regexpr\":\"example\",\"required\":1}]", "child" => [["name" => "id", "type" => "int", "require" => "", "max" => "-", "desc" => "ID", "example" => "1", "child" => []], ["name" => "name", "type" => "string", "require" => "", "max" => "-", "desc" => "名称", "example" => "example", "child" => []], ["name" => "type", "type" => "string", "require" => "", "max" => "-", "desc" => "类型:dropdown下拉框,password密码,text文本框,tickbox选项框,textarea文本域", "example" => "dropdown", "child" => []], ["name" => "description", "type" => "string", "require" => "", "max" => "-", "desc" => "描述", "example" => "example", "child" => []], ["name" => "options", "type" => "array[]", "require" => "", "max" => "-", "desc" => "选项,用于type为dropdown的自定义字段", "example" => "[\"a\",\"b\",\"c\"]", "child" => []], ["name" => "regexpr", "type" => "string", "require" => "", "max" => "-", "desc" => "正则验证", "example" => "example", "child" => []], ["name" => "required", "type" => "int", "require" => "", "max" => "-", "desc" => "必填:0否1是", "example" => "1", "child" => []]]]]]]], "createTicket" => ["title" => "提交工单", "desc" => "提交工单", "url" => "/v1/tickets", "method" => "POST", "auth" => "开发者", "version" => "v1", "param" => [["name" => "department_id", "type" => "int", "require" => "require", "max" => "-", "desc" => "部门ID", "example" => "1", "child" => []], ["name" => "title", "type" => "string", "require" => "require", "max" => "-", "desc" => "标题", "example" => "example", "child" => []], ["name" => "content", "type" => "string", "require" => "require", "max" => "-", "desc" => "内容", "example" => "example", "child" => []], ["name" => "host_id", "type" => "int", "require" => "", "max" => "-", "desc" => "产品ID", "example" => "1", "child" => []], ["name" => "custom_fields", "type" => "array[]", "require" => "", "max" => "-", "desc" => "自定义字段:自定义字段ID和值的键值对", "example" => "{\"1\":\"example\"}", "child" => []], ["name" => "attachment", "type" => "string", "require" => "", "max" => "-", "desc" => "附件", "example" => "example", "child" => []]], "return" => [["name" => "id", "type" => "int", "require" => "", "max" => "-", "desc" => "工单ID", "example" => "1", "child" => []]]], "replyTicket" => ["title" => "回复工单", "desc" => "回复工单", "url" => "/v1/tickets/:id/reply", "method" => "POST", "auth" => "开发者", "version" => "v1", "param" => [["name" => "content", "type" => "string", "require" => "require", "max" => "-", "desc" => "内容", "example" => "example", "child" => []], ["name" => "attachment", "type" => "string", "require" => "", "max" => "-", "desc" => "附件", "example" => "example", "child" => []]], "return" => []]]];