Merge branch 'hjb' of git.kingsome.cn:server/game2006api into hjb

This commit is contained in:
hujiabin 2024-07-24 18:04:31 +08:00
commit 3428c498c5
10 changed files with 105 additions and 0 deletions

View File

@ -0,0 +1,11 @@
<?php
return array(
'instance_id' => 1,
'host' => 'mysql-host',
'port' => 3306,
'user' => 'root',
'passwd' => 'keji178',
'dbname' => 'accountdb1',
);

View File

@ -0,0 +1,11 @@
<?php
return array(
array(
'instance_id' => 1,
'host' => 'mysql-host',
'port' => 3306,
'user' => 'root',
'passwd' => 'keji178',
)
);

View File

@ -0,0 +1,16 @@
<?php
return array(
array(
'instance_id' => 1,
'host' => 'redis-host',
'port' => 6379,
'passwd' => '',
),
array(
'instance_id' => 2,
'host' => 'redis-host',
'port' => 6379,
'passwd' => '',
),
);

View File

@ -0,0 +1,10 @@
<?php
return array(
'instance_id' => 1,
'host' => 'mysql-host',
'port' => 3306,
'user' => 'root',
'passwd' => 'keji178',
'dbname' => 'bcnft_dev',
);

View File

@ -0,0 +1,10 @@
<?php
return array(
'instance_id' => 1,
'host' => 'mysql-host',
'port' => 3306,
'user' => 'root',
'passwd' => 'root',
'dbname' => 'frienddb_dev_new',
);

View File

@ -0,0 +1,10 @@
<?php
return array(
'instance_id' => 1,
'host' => 'mysql-host',
'port' => 3306,
'user' => 'root',
'passwd' => 'keji178',
'dbname' => 'maildb_dev_1'
);

View File

@ -0,0 +1,7 @@
<?php
return array(
'instance_id' => 1,
'host' => '127.0.0.1',
'port' => 7521
);

9
config/routes.php Normal file
View File

@ -0,0 +1,9 @@
<?php
$gOnlyRoutes1 = array(
'Ops' => 1,
'Market' => 1,
);
$gExcludeRoutes = array(
);

View File

@ -0,0 +1,5 @@
<?php
return array(
'http://10.10.9.15:7672/webapp/index.php'
);

View File

@ -317,6 +317,22 @@ class AAMarket(object):
['contribution_point', 0, '贡献点'],
]
},
{
'method': 'GET',
'name': '/api/activity/stacking/history/:account_address',
'desc': '质押活动-获取每日所得历史记录',
'group': '!AAMarket',
'url': '/api/activity/stacking/history/:account_address',
'params': [
],
'response': [
_common.RspHead(),
['!rows', [
['date', 0, '日期utc时间'],
['contribution_point', 0, '贡献点'],
], '数据'],
]
},
{
'method': 'GET',
'name': '/api/chain/txhash/:net_id/:txhash',