freespin_gamebetconfi.md 2.2 KB

获取游戏下注配置

描述

使用这种方法,娱乐场运营商系统可以从系统获得所有游戏的下注配置,用以创建免费赠送活动。

请求方式( Host-> BeSoft):post

编码方式:application/x-www-form-urlencoded

Besoft响应的数据格式是: application/json

网址

{besoftapi}/api/bonus/gamebetconfig

请求参数

| 名称 | 类型 | 必要 | 描述 | | :--------: | :---------: | :--: | :--------------------------: | | extension1 | string | Y | 代理账号 | | cert | string | Y | 安全代码 |

示例

返回结果

| 名称 | 类型 | 描述 | | :------------------: | :----: | :--------------: | | games | object | 游戏配置列表 | | games.key | string | 游戏gid | | games.value.areaid | int | 区域id | | games.value.currency | string | 货币符号 | | games.value.betextra | int | 额外投注 | | games.value.bet | array | 可以下注分数列表 | | games.value.betmul | array | 可以下注倍数列表 | | games.value.betline | array | 可选下注线数量 |

### 成功的结果

{
	"games": {
		"afa001": {
			"areaid": 1,
			"currency": "USD",
			"betextra": 0,
			"bet": [
				100,
				500,
				1000,
				3000,
				5000
			],
			"betline": [
				20
			],
			"betmul": [
				1,
				2,
				3,
				4,
				5,
				6,
				7,
				8,
				9,
				10
			]
		},
		"afa002": {
			"areaid": 1,
			"currency": "USD",
			"betextra": 0,
			"bet": [
				100,
				300,
				1000,
				3000,
				5000
			],
			"betline": [
				20
			],
			"betmul": [
				1,
				2,
				3,
				4,
				5,
				6,
				7,
				8,
				9,
				10
			]
		}
	},
	"code": 0,
	"msg": "success"
}

### 失败的结果

{
	"ret": 1008,
	"info": "param erro"
}