This commit is contained in:
aozhiwei 2022-08-03 11:20:35 +08:00
parent 16257b9d77
commit 1e9f43dce2
2 changed files with 5 additions and 5 deletions

View File

@ -26,8 +26,8 @@ function genIdx() {
function genTokenId() {
const tokenId = bcutils.genTokenId(
1006,
bcutils.BC_FUNC_GUILD,
this.nowTime,
bcutils.BC_FUNC_PRESENT,
utils.getUtcTime(),
1,
genIdx()
);
@ -102,7 +102,7 @@ async function presentItem(session) {
{
const nowTime = utils.getUtcTime();
const tokenId = this.genTokenId(name);
const tokenId = genTokenId();
const fieldsList = [
['bc_mint_tokenid', tokenId],
['unikey', uniKey],
@ -116,7 +116,7 @@ async function presentItem(session) {
['createtime', nowTime],
['modifytime', nowTime]
];
const {err} = await this.conn.insert(
const {err} = await conn.insert(
't_mint',
fieldsList
);

2
third_party/j7 vendored

@ -1 +1 @@
Subproject commit d72af66b36ce9c76e4dcf7163222bfad40f88150
Subproject commit b4c98428459cc04b89982ebd2094912c536bbf15