规则

### 规则设置-获取 ``` 请求地址:域名/api/index/ ``` | 参数 | 类型 | 说明 | 是否必填 | |------|-----|------|----------| | _handle | string | 固定值:SystemPage | 是 | | _method | string | 固定值:Get | 是 | | xy_name | string | 固定值:rule | 是 | ### 返回值 ``` json { "code":1, "msg":"", "data":{ "xy_withdraw_blv":"10",//积分兑换提现金额比例 "xy_score_blv":"0",//积分兑换商城积分比例 "xy_coin_blv":"10",//余额兑换平台币比例 "xy_invite_agent_1_switch":"0",//推送代理商1层开关 0开启 1关闭 "xy_invite_agent_1_score":"10",//推送代理商1层积分 "xy_invite_agent_2_switch":"0",//推送代理商2层开关 0开启 1关闭 "xy_invite_agent_2_score":"10",//推送代理商2层积分 "xy_invite_agent_3_switch":"0",//推送代理商3层开关 0开启 1关闭 "xy_invite_agent_3_score":"10",//推送代理商3层积分 "xy_invite_agent_4_switch":"0",//推送代理商4层开关 0开启 1关闭 "xy_invite_agent_4_score":"10",//推送代理商4层积分 "xy_invite_agent_5_switch":"0",//推送代理商5层开关 0开启 1关闭 "xy_invite_agent_5_score":"10",//推送代理商5层积分 "xy_invite_agent_6_switch":"0",//推送代理商6层开关 0开启 1关闭 "xy_invite_agent_6_score":"10",//推送代理商6层积分 "xy_invite_agent_7_switch":"0",//推送代理商7层开关 0开启 1关闭 "xy_invite_agent_7_score":"10",//推送代理商7层积分 "xy_invite_agent_8_switch":"0",//推送代理商8层开关 0开启 1关闭 "xy_invite_agent_8_score":"10",//推送代理商8层积分 "xy_invite_agent_9_switch":"0",//推送代理商9层开关 0开启 1关闭 "xy_invite_agent_9_score":"10",//推送代理商9层积分 "xy_invite_agent_10_switch":"0",//推送代理商10层开关 0开启 1关闭 "xy_invite_agent_10_score":"10",//推送代理商10层积分 "xy_invite_player_1_switch":"0",//推送新玩家1层开关 0开启 1关闭 "xy_invite_player_1_score":"10",//推送新玩家1层积分 "xy_invite_player_2_switch":"0",//推送新玩家2层开关 0开启 1关闭 "xy_invite_player_2_score":"10",//推送新玩家2层积分 "xy_invite_player_3_switch":"0",//推送新玩家3层开关 0开启 1关闭 "xy_invite_player_3_score":"10",//推送新玩家3层积分 "xy_invite_player_4_switch":"0",//推送新玩家4层开关 0开启 1关闭 "xy_invite_player_4_score":"10",//推送新玩家4层积分 "xy_invite_player_5_switch":"0",//推送新玩家5层开关 0开启 1关闭 "xy_invite_player_5_score":"10",//推送新玩家5层积分 "xy_invite_player_6_switch":"0",//推送新玩家6层开关 0开启 1关闭 "xy_invite_player_6_score":"10",//推送新玩家6层积分 "xy_invite_player_7_switch":"0",//推送新玩家7层开关 0开启 1关闭 "xy_invite_player_7_score":"10",//推送新玩家7层积分 "xy_invite_player_8_switch":"0",//推送新玩家8层开关 0开启 1关闭 "xy_invite_player_8_score":"10",//推送新玩家8层积分 "xy_invite_player_9_switch":"0",//推送新玩家9层开关 0开启 1关闭 "xy_invite_player_9_score":"10",//推送新玩家9层积分 "xy_invite_player_10_switch":"0",//推送新玩家10层开关 0开启 1关闭 "xy_invite_player_10_score":"10",//推送新玩家10层积分 } } ``` ### 规则设置-保存 ``` 请求地址:域名/api/index/ ``` | 参数 | 类型 | 说明 | 是否必填 | |------|-----|------|----------| | _handle | string | 固定值:SystemPage | 是 | | _method | string | 固定值:Add | 是 | | xy_name | string | 固定值:rule | 是 | | xy_withdraw_blv | int | 积分兑换提现金额比例 | 是 | | xy_score_blv | int | 积分兑换商城积分比例 | 是 | | xy_coin_blv | int | 余额兑换平台币比例 | 是 | | xy_invite_agent_1_switch | int | 推送代理商1层开关 0开启 1关闭 | 是 | | xy_invite_agent_1_score | int | 推送代理商1层积分 | 是 | | xy_invite_agent_2_switch | int | 推送代理商2层开关 0开启 1关闭 | 是 | | xy_invite_agent_2_score | int | 推送代理商2层积分 | 是 | | xy_invite_agent_3_switch | int | 推送代理商3层开关 0开启 1关闭 | 是 | | xy_invite_agent_3_score | int | 推送代理商3层积分 | 是 | | xy_invite_agent_4_switch | int | 推送代理商4层开关 0开启 1关闭 | 是 | | xy_invite_agent_4_score | int | 推送代理商4层积分 | 是 | | xy_invite_agent_5_switch | int | 推送代理商5层开关 0开启 1关闭 | 是 | | xy_invite_agent_5_score | int | 推送代理商5层积分 | 是 | | xy_invite_agent_6_switch | int | 推送代理商6层开关 0开启 1关闭 | 是 | | xy_invite_agent_6_score | int | 推送代理商6层积分 | 是 | | xy_invite_agent_7_switch | int | 推送代理商7层开关 0开启 1关闭 | 是 | | xy_invite_agent_7_score | int | 推送代理商7层积分 | 是 | | xy_invite_agent_8_switch | int | 推送代理商8层开关 0开启 1关闭 | 是 | | xy_invite_agent_8_score | int | 推送代理商8层积分 | 是 | | xy_invite_agent_9_switch | int | 推送代理商9层开关 0开启 1关闭 | 是 | | xy_invite_agent_9_score | int | 推送代理商9层积分 | 是 | | xy_invite_agent_10_switch | int | 推送代理商10层开关 0开启 1关闭 | 是 | | xy_invite_agent_10_score | int | 推送代理商10层积分 | 是 | | xy_invite_player_1_switch | int | 推送新玩家1层开关 0开启 1关闭 | 是 | | xy_invite_player_1_score | int | 推送新玩家1层积分 | 是 | | xy_invite_player_2_switch | int | 推送新玩家2层开关 0开启 1关闭 | 是 | | xy_invite_player_2_score | int | 推送新玩家2层积分 | 是 | | xy_invite_player_3_switch | int | 推送新玩家3层开关 0开启 1关闭 | 是 | | xy_invite_player_3_score | int | 推送新玩家3层积分 | 是 | | xy_invite_player_4_switch | int | 推送新玩家4层开关 0开启 1关闭 | 是 | | xy_invite_player_4_score | int | 推送新玩家4层积分 | 是 | | xy_invite_player_5_switch | int | 推送新玩家5层开关 0开启 1关闭 | 是 | | xy_invite_player_5_score | int | 推送新玩家5层积分 | 是 | | xy_invite_player_6_switch | int | 推送新玩家6层开关 0开启 1关闭 | 是 | | xy_invite_player_6_score | int | 推送新玩家6层积分 | 是 | | xy_invite_player_7_switch | int | 推送新玩家7层开关 0开启 1关闭 | 是 | | xy_invite_player_7_score | int | 推送新玩家7层积分 | 是 | | xy_invite_player_8_switch | int | 推送新玩家8层开关 0开启 1关闭 | 是 | | xy_invite_player_8_score | int | 推送新玩家8层积分 | 是 | | xy_invite_player_9_switch | int | 推送新玩家9层开关 0开启 1关闭 | 是 | | xy_invite_player_9_score | int | 推送新玩家9层积分 | 是 | | xy_invite_player_10_switch | int | 推送新玩家10层开关 0开启 1关闭 | 是 | | xy_invite_player_10_score | int | 推送新玩家10层积分 | 是 | ### 返回值 ``` json { "code":1, "msg":"", "data":[] } ```