diff --git a/rule/block_green_chain_settlement.go b/rule/block_green_chain_settlement.go index dba8eae..2ed2a2f 100644 --- a/rule/block_green_chain_settlement.go +++ b/rule/block_green_chain_settlement.go @@ -314,7 +314,7 @@ func statisticsAndDistributeCoinForAirdrop(session *xorm.Session, mid string, pu //1、查询出所有需要空投的用户 var userList []*model.BlockGreenChainCustomUserAirdrop - totalUser, err := session.Table("user").Where("1 =1 ").FindAndCount(&userList) + totalUser, err := session.Table("block_green_chain_custom_user_airdrop").Where("1 =1 ").FindAndCount(&userList) if err != nil { return err, unassignedTotalCoinValue }