|
|
@@ -68,7 +68,7 @@ func GetEggEnergyUserCoinList(c *gin.Context) { |
|
|
|
e.OutErr(c, e.ERR_DB_ORM, err3.Error()) |
|
|
|
return |
|
|
|
} |
|
|
|
activePointsWalletList := make([]md.ActivePointsWalletNode, len(wallets)) |
|
|
|
activePointsWalletList := make([]md.ActivePointsWalletNode, 0, len(wallets)) |
|
|
|
userDb := implement.NewUserDb(db.Db) |
|
|
|
userIDs := make([]int64, len(wallets)) |
|
|
|
for i, wallet := range wallets { |
|
|
@@ -236,7 +236,7 @@ func GetEggPointsUserCoinList(c *gin.Context) { |
|
|
|
e.OutErr(c, e.ERR_DB_ORM, err3.Error()) |
|
|
|
return |
|
|
|
} |
|
|
|
activePointsWalletList := make([]md.ActivePointsWalletNode, len(wallets)) |
|
|
|
activePointsWalletList := make([]md.ActivePointsWalletNode, 0, len(wallets)) |
|
|
|
userDb := implement.NewUserDb(db.Db) |
|
|
|
userIDs := make([]int64, len(wallets)) |
|
|
|
for i, wallet := range wallets { |
|
|
|