feat: add more type def

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-07-22 12:03:05 +08:00
parent 8d0cb723c1
commit 8c849ed49f
8 changed files with 103 additions and 34 deletions

View File

@@ -478,7 +478,7 @@ global.HTTPCaller.GetActList = function(Params) {
return { arr: arr, result: 1 };
};
global.HTTPCaller.GetHashList = function(Params) {
var arr = global.DApps.Accounts.DBAccountsHash.GetRows(Params.StartNum, Params.CountNum, Params.Filter);
var arr = global.DApps.Accounts.DBAccountsHash.GetRows(Params.StartNum, Params.CountNum);
for (var i = 0; i < arr.length; i++) {
var item = arr[i];
item.BlockNum = item.Num * global.PERIOD_ACCOUNT_HASH;