tribally report
This commit is contained in:
@@ -12,6 +12,7 @@ import (
|
||||
"nova_task/internal/pkg/utils"
|
||||
"nova_task/internal/svc"
|
||||
"nova_task/internal/types"
|
||||
"time"
|
||||
)
|
||||
|
||||
type TransferCastileToGameLogic struct {
|
||||
@@ -111,7 +112,7 @@ func (l *TransferCastileToGameLogic) TransferCastileToGame(req *types.TransferCa
|
||||
data, _ := jsonx.MarshalToString(itemList)
|
||||
|
||||
//给多角色发邮件
|
||||
_, err = l.svcCtx.GameAction(l.ctx, int64(req.RoleID), consts.GameActionSendNoticeAward, map[string]any{
|
||||
_, err = l.svcCtx.GameAction(l.ctx, req.RoleID, consts.GameActionSendNoticeAward, map[string]any{
|
||||
"role_ids": req.RoleID,
|
||||
"item_list": data,
|
||||
"template_id": 120338,
|
||||
@@ -142,6 +143,6 @@ func (l *TransferCastileToGameLogic) TransferCastileToGame(req *types.TransferCa
|
||||
RoleID: int64(res.RoleId),
|
||||
Amount: int64(res.Amount),
|
||||
Status: int64(res.CallbackStatus),
|
||||
CreatedAt: res.CreatedAt.Format(consts.FORMATDATETIME),
|
||||
CreatedAt: res.CreatedAt.Format(time.DateTime),
|
||||
}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user