调控玩家降低配置

玩家在游戏内RTP超过游戏默认设定的RTP一定程度时(上升RTP),概率触发降低功能,通过功能逻辑将玩家在游戏内的RTP降低一定程度,点击“降低配置”按钮进行相关配置。

OMG服务器时区:UTC+0,接入方需注意数据统计的时区计算

UpdateRtpDown

该API接口由OMG平台提供,由接入方进行调用

POST {OMG_BACKEND_URL}/api/v1/merchant/outer/updateRtpDown?trace_id=12212

{OMG_BACKEND_URL} 为商户后台的API配置界面获取到的后台接口调用域名

Headers

Name
Value

Content-Type

"application/json; charset=utf-8"

sign

"your_sign_string"

签名算法请查阅 签名算法及示例 页面描述

Body

Name
Type
Description

app_id

string

后台获取的商户appid

currency_id

integer

货币id 多货币商户需要传递(单商户不传)

rtp_down_status

integer

rtp降低开关 0是关闭 1是开启

beginner_rounds

integer

新手局数 参考值150

up_rtp_radio

integer

rtp比例 万分比 500 就是百分之5

gear_config

obj

gear 代表 档位 novice_probability 是新手概率 non_novice_probability 是非新手概率 都是万分比 一共10个档位

请求参数示例

{
    "app_id": "1001",
    "currency_id":0,
    "rtp_down_status": 1,
    "beginner_rounds": 150,
    "up_rtp_radio": 500,
    "gear_config": [
        {
            "gear": 1,
            "novice_probability": 0,
            "non_novice_probability": 5000
        },
        {
            "gear": 2,
            "novice_probability": 500,
            "non_novice_probability": 5000
        },
        {
            "gear": 3,
            "novice_probability": 1000,
            "non_novice_probability": 5000
        },
        {
            "gear": 4,
            "novice_probability": 1500,
            "non_novice_probability": 5000
        },
        {
            "gear": 5,
            "novice_probability": 2000,
            "non_novice_probability": 5000
        },
        {
            "gear": 6,
            "novice_probability": 2000,
            "non_novice_probability": 5000
        },
        {
            "gear": 7,
            "novice_probability": 2000,
            "non_novice_probability": 6000
        },
        {
            "gear": 8,
            "novice_probability": 2000,
            "non_novice_probability": 7000
        },
        {
            "gear": 9,
            "novice_probability": 2000,
            "non_novice_probability": 8000
        },
        {
            "gear": 10,
            "novice_probability": 2000,
            "non_novice_probability": 9000
        }
    ]
}

响应参数示例

{
    "code": 1,
    "msg": "success"
}

成功返回示例的参数说明

返回值
是否必填
类型
说明

code

integer

状态码

msg

string

提示信息

错误码

更多返回错误代码请查阅 特殊错误码 页面描述

Last updated