代理-代理申请-代理接口

# 代理实体 ## 表名 xy_agent ### 字段参数 | 字段 | 类型 | 说明 | |-----|--------|-------| | agent_remark | string | 用户备注 | | agent_id | int | 自增长编号 | | agent_uname | string | 账号 | | agent_password | string | 密码 | | agent_platform | string | 平台名称 | | agent_platform_url | string | 平台地址 | | agent_contact | string | 联系人 | | agent_qq | string | 联系qq | | agent_wechat | string | 联系微信 | | agent_mail | string | 联系邮箱 | | agent_phone | string | 联系电话 | | agent_state | int | 1正常 2冻结 3授信中 4充值关闭 | | agent_createtime | DateTime | 注册时间 | | xy_rule_ratio | int | 游戏分成 | | xy_ruleblv | int | 游戏分成 | | xy_rule_credit | int | 基础授信额度 | | xy_rule_daypayline | int | 基础单日充值额度 | | xy_rule_payline | int | 基础单笔充值额度 | | xy_rule_creditline | int | 最长守信天数 | | agent_credit_time | DateTime | 信用额度使用开始时间 | | xy_rule_fencheng_type | int | 分成方式 1按付款金额 2按到账金额 | | rule_port | List<string> | 接口 | | xy_group | string | 对接商务组 | | xy_level | int | 星级 | | agent_collection_info | xy_collection_info | 收款人信息 | | agent_balance | double | 余额 | | agent_payorder_total | double | 累计玩家充值 | | agent_fencheng_total | double | 累计提现金额 | | agent_task_total | double | 累计绩效金额 | | agent_recharge_total | double | 累计充值金额(在账户余额上充值) | | agent_withdrawin_total | double | 申请中金额 | | agent_temp_pay_money | double | 代理商临时充值金额 | # 收款人实体 ## 表名 xy_collection_info ### 字段参数 | 字段 | 类型 | 说明 | |-----|--------|-------| | collection_mode | string | 收款方式 | | collection_people | string | 收款人 | | collection_number | string | 收款账号 | | collection_remarks | string | 备注信息 | # 代理申请实体 ## 表名 xy_agent_apply ### 字段参数 | 字段 | 类型 | 说明 | |-----|--------|-------| | agent_id | int | 自增长编号 | | agent_uname | string | 账号 | | agent_password | string | 密码 | | agent_platform | string | 平台名称 | | agent_platform_url | string | 平台地址 | | agent_contact | string | 联系人 | | agent_qq | string | 联系qq | | agent_wechat | string | 联系微信 | | agent_mail | string | 联系邮箱 | | agent_phone | string | 联系电话 | | agent_state | int | 代理商状态 0待审核 1 已删除 2已通过 | | agent_createtime | DateTime | 申请时间 | # 代理接口实体 ## 表名 xy_agent_port ### 字段参数 | 字段 | 类型 | 说明 | |-----|--------|-------| | agent_id | string | 代理id | | type | string | 接口类型 | | url | string | 接口地址 | | key | string | 密钥 | | createtime | DateTime | 生成时间 | | return_url | string | 同步地址 | | notify_url | string | 异步地址 | | is_open | int | 开关 是否开启 0开启 1关闭 |