👽 Support wallet multi currency

This commit is contained in:
2025-03-23 17:59:49 +08:00
parent b18dd5ef82
commit 2ead62ecce
3 changed files with 5 additions and 6 deletions

View File

@ -121,6 +121,7 @@ func CheckIn(user models.Account) (models.CheckInRecord, error) {
_, err = wc.MakeTransactionWithAccount(ctx, &proto.MakeTransactionWithAccountRequest{
PayeeAccountId: lo.ToPtr(uint64(user.ID)),
Amount: record.ResultCoin,
Currency: "normal",
Remark: "Daily Check-In Rewards",
})
if err != nil {