<?php

return ["title" => "推介计划", "item" => ["affiliate" => ["title" => "获取推介信息", "desc" => "获取推介信息", "url" => "v1/affiliates", "method" => "GET", "auth" => "智简魔方", "version" => "v1", "param" => [], "return" => [["name" => "id", "type" => "int", "require" => "", "max" => "-", "desc" => "推介计划ID,激活推介计划后才有此参数", "example" => "1", "child" => []], ["name" => "visitors", "type" => "int", "require" => "", "max" => "-", "desc" => "访问数量,激活推介计划后才有此参数", "example" => "1", "child" => []], ["name" => "registcount", "type" => "int", "require" => "", "max" => "-", "desc" => "注册数量", "example" => "1", "child" => []], ["name" => "payamount", "type" => "int", "require" => "", "max" => "-", "desc" => "订购数量,激活推介计划后才有此参数", "example" => "1", "child" => []], ["name" => "audited_balance", "type" => "float", "require" => "", "max" => "-", "desc" => "待确认佣金,激活推介计划后才有此参数", "example" => "1.00", "child" => []], ["name" => "balance", "type" => "float", "require" => "", "max" => "-", "desc" => "可提现佣金,激活推介计划后才有此参数", "example" => "1.00", "child" => []], ["name" => "withdrawn", "type" => "float", "require" => "", "max" => "-", "desc" => "已提现佣金,激活推介计划后才有此参数", "example" => "1.00", "child" => []], ["name" => "url_identy", "type" => "string", "require" => "", "max" => "-", "desc" => "推介连接标识,激活推介计划后才有此参数", "example" => "NZINLELU", "child" => []], ["name" => "sum", "type" => "float", "require" => "", "max" => "-", "desc" => "总佣金,激活推介计划后才有此参数", "example" => "1.00", "child" => []], ["name" => "withdrawing", "type" => "float", "require" => "", "max" => "-", "desc" => "提现中佣金,激活推介计划后才有此参数", "example" => "1.00", "child" => []], ["name" => "suffix", "type" => "string", "require" => "", "max" => "-", "desc" => "货币标识后缀,激活推介计划后才有此参数", "example" => "HKD", "child" => []], ["name" => "prefix", "type" => "string", "require" => "", "max" => "-", "desc" => "货币标识前缀,激活推介计划后才有此参数", "example" => "\$", "child" => []], ["name" => "url", "type" => "string", "require" => "", "max" => "-", "desc" => "推介链接,激活推介计划后才有此参数", "example" => "http://example.com/aff/DCALTMQE", "child" => []], ["name" => "affiliate_is_renew", "type" => "int", "require" => "", "max" => "-", "desc" => "是否开启续费:1是0否", "example" => "1", "child" => []], ["name" => "affiliate_is_reorder", "type" => "int", "require" => "", "max" => "-", "desc" => "是否开启二次订单:1是0否", "example" => "1", "child" => []], ["name" => "affiliate_withdraw", "type" => "float", "require" => "", "max" => "-", "desc" => "最低提现金额", "example" => "1.00", "child" => []], ["name" => "commission", "type" => "array[]", "require" => "", "max" => "-", "desc" => "收益方式", "example" => "", "child" => [["name" => "name", "type" => "string", "require" => "", "max" => "-", "desc" => "名称", "example" => "推介收益", "child" => []], ["name" => "description", "type" => "string", "require" => "", "max" => "-", "desc" => "描述", "example" => "推介的用户注册购买产品后返佣金额", "child" => []], ["name" => "type", "type" => "string", "require" => "", "max" => "-", "desc" => "类型", "example" => "百分比", "child" => []], ["name" => "commission", "type" => "string", "require" => "", "max" => "-", "desc" => "佣金", "example" => "50%", "child" => []]]]]], "affiliateActive" => ["title" => "激活推介计划", "desc" => "激活推介计划", "url" => "v1/affiliates", "method" => "PUT", "auth" => "智简魔方", "version" => "v1", "param" => [], "return" => [["name" => "url", "type" => "string", "require" => "", "max" => "-", "desc" => "推介链接", "example" => "http://example.com/aff/DCALTMQE", "child" => []]]], "withdraw" => ["title" => "推介计划申请提现", "desc" => "推介计划申请提现", "url" => "v1/affiliates/withdraw", "method" => "POST", "auth" => "智简魔方", "version" => "v1", "param" => [["name" => "num", "type" => "float", "require" => "", "max" => "-", "desc" => "提现数量", "example" => "1.00", "child" => []]], "return" => [[]]], "withdrawRecord" => ["title" => "推介计划提现记录", "desc" => "推介计划提现记录", "url" => "v1/affiliates/withdraw_record", "method" => "GET", "auth" => "智简魔方", "version" => "v1", "param" => [], "return" => [["name" => "total", "type" => "int", "require" => "", "max" => "-", "desc" => "提现记录数量", "example" => "1", "child" => []], ["name" => "record", "type" => "array[]", "require" => "", "max" => "-", "desc" => "提现记录", "example" => "", "child" => [["name" => "id", "type" => "int", "require" => "", "max" => "-", "desc" => "提现记录ID", "example" => "1", "child" => []], ["name" => "num", "type" => "float", "require" => "", "max" => "-", "desc" => "提现数量", "example" => "1.00", "child" => []], ["name" => "type", "type" => "int", "require" => "", "max" => "-", "desc" => "提现方式:0提现中1余额2仅记录3流水支持", "example" => "1", "child" => []], ["name" => "create_time", "type" => "int", "require" => "", "max" => "-", "desc" => "提现时间", "example" => "1648433070", "child" => []], ["name" => "status", "type" => "int", "require" => "", "max" => "-", "desc" => "状态:1待审核2审核通过3拒绝", "example" => "1", "child" => []], ["name" => "admin", "type" => "string", "require" => "", "max" => "-", "desc" => "操作人", "example" => "example", "child" => []], ["name" => "reason", "type" => "string", "require" => "", "max" => "-", "desc" => "原因", "example" => "example", "child" => []], ["name" => "suffix", "type" => "string", "require" => "", "max" => "-", "desc" => "货币标识后缀,激活推介计划后才有此参数", "example" => "HKD", "child" => []]]]]], "affiliateRecord" => ["title" => "推介记录", "desc" => "推介记录", "url" => "v1/affiliates/record", "method" => "GET", "auth" => "智简魔方", "version" => "v1", "param" => [], "return" => [["name" => "total", "type" => "int", "require" => "", "max" => "-", "desc" => "推介记录数量", "example" => "1", "child" => []], ["name" => "record", "type" => "array[]", "require" => "", "max" => "-", "desc" => "推介记录", "example" => "", "child" => [["name" => "id", "type" => "int", "require" => "", "max" => "-", "desc" => "订单ID", "example" => "1", "child" => []], ["name" => "status", "type" => "int", "require" => "", "max" => "-", "desc" => "状态:Paid已支付Refunded已退款", "example" => "1", "child" => []], ["name" => "create_time", "type" => "int", "require" => "", "max" => "-", "desc" => "账单创建时间", "example" => "1648433070", "child" => []], ["name" => "type", "type" => "string", "require" => "", "max" => "-", "desc" => "类型", "example" => "续费", "child" => []], ["name" => "paid_time", "type" => "int", "require" => "", "max" => "-", "desc" => "支付时间", "example" => "1648433070", "child" => []], ["name" => "username", "type" => "string", "require" => "", "max" => "-", "desc" => "客户名称", "example" => "example", "child" => []], ["name" => "uid", "type" => "int", "require" => "", "max" => "-", "desc" => "客户ID", "example" => "1", "child" => []], ["name" => "prefix", "type" => "string", "require" => "", "max" => "-", "desc" => "货币标识前缀", "example" => "\$", "child" => []], ["name" => "suffix", "type" => "string", "require" => "", "max" => "-", "desc" => "货币标识后缀", "example" => "HKD", "child" => []], ["name" => "commmission", "type" => "float", "require" => "", "max" => "-", "desc" => "佣金", "example" => "1.00", "child" => []], ["name" => "commission_bates", "type" => "float", "require" => "", "max" => "-", "desc" => "佣金比例,类型为金额时是固定金额,为比例时是百分比", "example" => "50", "child" => []], ["name" => "commission_bates_type", "type" => "int", "require" => "", "max" => "-", "desc" => "佣金类型:1金额2比例", "example" => "1", "child" => []], ["name" => "invoice_id", "type" => "int", "require" => "", "max" => "-", "desc" => "账单ID", "example" => "1", "child" => []], ["name" => "confirm_status", "type" => "int", "require" => "", "max" => "-", "desc" => "确认状态:0未确认1已确认", "example" => "1", "child" => []], ["name" => "amount", "type" => "float", "require" => "", "max" => "-", "desc" => "金额", "example" => "1.00", "child" => []], ["name" => "confirm_time", "type" => "int", "require" => "", "max" => "-", "desc" => "确认时间", "example" => "1648433070", "child" => []]]]]], "user" => ["title" => "注册用户", "desc" => "注册用户", "url" => "v1/affiliates/user", "method" => "GET", "auth" => "智简魔方", "version" => "v1", "param" => [], "return" => [["name" => "total", "type" => "int", "require" => "", "max" => "-", "desc" => "注册用户数量", "example" => "1", "child" => []], ["name" => "user", "type" => "array[]", "require" => "", "max" => "-", "desc" => "注册用户", "example" => "", "child" => [["name" => "id", "type" => "int", "require" => "", "max" => "-", "desc" => "注册用户ID", "example" => "1", "child" => []], ["name" => "username", "type" => "string", "require" => "", "max" => "-", "desc" => "用户名", "example" => "example", "child" => []], ["name" => "company_name", "type" => "string", "require" => "", "max" => "-", "desc" => "公司名称", "example" => "example", "child" => []], ["name" => "email", "type" => "string", "require" => "", "max" => "-", "desc" => "邮箱", "example" => "example@gmail.com", "child" => []], ["name" => "phonenumber", "type" => "string", "require" => "", "max" => "-", "desc" => "手机号", "example" => "13312341234", "child" => []], ["name" => "create_time", "type" => "int", "require" => "", "max" => "-", "desc" => "创建时间", "example" => "1648433070", "child" => []], ["name" => "last_login_time", "type" => "int", "require" => "", "max" => "-", "desc" => "最后登录时间", "example" => "1648433070", "child" => []]]]]]]];