| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- module.exports = [
- // 游戏平台
- {
- url: '/v1/recharge/channel/platform',
- type: 'get',
- response: config => {
- return {
- code: 200,
- status: true,
- data: {
- data: [
- {
- 'pid': 'd65aa6d7614589bffe62456b88e98811',
- 'platform': 'MM',
- 'disRate': 9.8,
- 'rate': 9.7,
- 'type': 0,
- 'length': 2
- }
- ]
- },
- message: '成功'
- }
- }
- },
- // 渠道余额
- {
- url: '/v1/getMainChannelMoney',
- type: 'post',
- response: config => {
- return {
- code: 200,
- status: true,
- data: {
- data: 8816
- },
- message: '成功'
- }
- }
- },
- // 渠道账号
- {
- url: '/v1/recharge/channel/platform',
- type: 'get',
- response: config => {
- return {
- code: 200,
- status: true,
- data: {
- data: [
- {
- 'cid': 18150,
- 'title': null,
- 'account': 'MM17696178'
- },
- {
- 'cid': 18368,
- 'title': '',
- 'account': 'MM14590945'
- }
- ]
- },
- message: '成功'
- }
- }
- },
- // 查询充值账号是否正常
- {
- url: '/v1/recharge/player/type',
- type: 'post',
- response: config => {
- if (Math.round(Math.random() * 2) < 1) {
- return {
- code: 200,
- status: true,
- data: [],
- message: '成功'
- }
- } else {
- return {
- code: 200,
- status: false,
- data: [],
- message: '失败'
- }
- }
- }
- }
- ]
|