1
This commit is contained in:
parent
c5086a2e20
commit
175fd16c0c
@ -63,7 +63,7 @@ class Present extends BaseService {
|
||||
const {err} = await this.conn.insert(
|
||||
't_present',
|
||||
[
|
||||
['token_id', tokenId],
|
||||
['bc_mint_tokenid', tokenId],
|
||||
['batch_id', name],
|
||||
['row_id', presentMeta['id']],
|
||||
['seq_id', seqId],
|
||||
|
@ -9,3 +9,4 @@ exports.REMOVE_PENDING_WITHDRAWAL_EVENT = REMOVE_PENDING_WITHDRAWAL_EVENT;
|
||||
exports.TOKEN_TYPE_HERO = 1;
|
||||
exports.TOKEN_TYPE_EQUIP = 2;
|
||||
exports.TOKEN_TYPE_CHIP = 3;
|
||||
exports.BLIND_BOX_TYPE_CHIP = 4;
|
||||
|
@ -20,7 +20,7 @@ class PresentMgr {
|
||||
while (true) {
|
||||
{
|
||||
const {err, rows} = await db.execQuery(
|
||||
'SELECT * FROM t_present WHERE `idx` > ? AND `ignore` = 0 AND ' + \
|
||||
'SELECT * FROM t_present WHERE `idx` > ? AND `ignore` = 0 AND ' +
|
||||
'done = 0 AND suspend = 0 LIMIT 100',
|
||||
[this.lastIdx]);
|
||||
if (!err) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user