Merge branch 'lixing' into dev
This commit is contained in:
@@ -105,8 +105,8 @@ func (l *TransferCastileToGameLogic) TransferCastileToGame(req *types.TransferCa
|
|||||||
|
|
||||||
itemList := []map[string]any{
|
itemList := []map[string]any{
|
||||||
{
|
{
|
||||||
"itemId": 32110,
|
"itemId": 2013,
|
||||||
"itemCount": 20,
|
"itemCount": uint(req.Amount),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
data, _ := jsonx.MarshalToString(itemList)
|
data, _ := jsonx.MarshalToString(itemList)
|
||||||
@@ -115,7 +115,7 @@ func (l *TransferCastileToGameLogic) TransferCastileToGame(req *types.TransferCa
|
|||||||
_, err = l.svcCtx.GameAction(l.ctx, req.RoleID, consts.GameActionSendNoticeAward, map[string]any{
|
_, err = l.svcCtx.GameAction(l.ctx, req.RoleID, consts.GameActionSendNoticeAward, map[string]any{
|
||||||
"role_ids": req.RoleID,
|
"role_ids": req.RoleID,
|
||||||
"item_list": data,
|
"item_list": data,
|
||||||
"template_id": 120338,
|
"template_id": 120371,
|
||||||
"mail_ttl": 24 * 90,
|
"mail_ttl": 24 * 90,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user