Compare commits

..

8 Commits

Author SHA1 Message Date
sk e1f5447da0 解决冲突 2024-09-19 09:25:13 +08:00
sk 70d051d938 查询房间信息更新道具表 2024-09-19 09:21:12 +08:00
sk 2629c16689 查询房间信息 2024-09-18 18:42:44 +08:00
sk 3da6a1a667 查询房间信息 2024-09-18 18:35:01 +08:00
sk e36c6608c3 查询房间信息 2024-09-18 18:22:46 +08:00
sk 03e0cdb6d7 查询房间信息 2024-09-18 18:03:06 +08:00
sk aa92a9630c 竞技馆房主为创建者 2024-09-18 16:53:10 +08:00
sk 02365888a1 update excel 2024-09-18 15:30:43 +08:00
9 changed files with 2976 additions and 99 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@ -11,7 +11,7 @@
"FinishTimes": 1,
"Award": {
"100001": 500000,
"100004": 5
"100004": 20
},
"Position": [
1,
@ -28,7 +28,7 @@
"TargetTimes": 1,
"FinishTimes": 1,
"Award": {
"100001": 100000,
"100001": 200000,
"100004": 20
},
"Position": [
@ -47,7 +47,7 @@
"FinishTimes": 1,
"Award": {
"100001": 50000,
"100004": 15
"100004": 10
}
},
{
@ -76,7 +76,7 @@
"FinishTimes": 1,
"Award": {
"100001": 100000,
"100004": 30
"100004": 20
},
"GameType": 1
},
@ -90,11 +90,47 @@
"TargetTimes": 1,
"FinishTimes": 1,
"Award": {
"100001": 100000,
"100001": 50000,
"100004": 20
},
"GameType": 1
},
{
"Id": 27,
"Order": 7,
"Name": "每日任务",
"Des": "累计充值$4.99",
"ActivityType": 1,
"TaskType": 7,
"TargetTimes": 499,
"FinishTimes": 1,
"Award": {
"100001": 1000000,
"100004": 30
},
"Position": [
1,
1
]
},
{
"Id": 28,
"Order": 8,
"Name": "每日任务",
"Des": "累计充值$9.99",
"ActivityType": 1,
"TaskType": 7,
"TargetTimes": 999,
"FinishTimes": 1,
"Award": {
"100001": 2000000,
"100004": 50
},
"Position": [
1,
1
]
},
{
"Id": 7,
"Order": 1,
@ -116,7 +152,7 @@
"TargetTimes": 300,
"FinishTimes": 1,
"Award": {
"50001": 2
"50001": 5
}
},
{
@ -140,7 +176,7 @@
"TargetTimes": 500,
"FinishTimes": 1,
"Award": {
"50001": 5
"50001": 10
}
},
{
@ -149,10 +185,10 @@
"Name": "周活跃任务",
"ActivityType": 2,
"TaskType": 14,
"TargetTimes": 600,
"TargetTimes": 650,
"FinishTimes": 1,
"Award": {
"100002": 10
"30008": 1
}
},
{

View File

@ -114,7 +114,7 @@ func init() {
if scene == nil || scene.ExtraData == nil {
pack.Tag = webapiproto.TagCode_NotFound
pack.Msg = "房间没找到"
return common.ResponseTag_TransactYield, pack
return common.ResponseTag_Ok, pack
}
switch d := scene.ExtraData.(type) {
@ -140,7 +140,7 @@ func init() {
}
pack.List = append(pack.List, item)
}
return common.ResponseTag_Ok, pack
default:
pack.Tag = webapiproto.TagCode_FAILED
pack.Msg = "未实现"

View File

@ -6,8 +6,10 @@ import (
"encoding/json"
"fmt"
"io"
"mongo.games.com/game/common"
"mongo.games.com/game/model"
"net/http"
"sync/atomic"
"time"
"mongo.games.com/goserver/core"
"mongo.games.com/goserver/core/admin"
"mongo.games.com/goserver/core/logger"
@ -15,9 +17,10 @@ import (
"mongo.games.com/goserver/core/transact"
"mongo.games.com/goserver/core/utils"
"mongo.games.com/goserver/srvlib"
"net/http"
"sync/atomic"
"time"
"mongo.games.com/game/common"
"mongo.games.com/game/model"
"mongo.games.com/game/protocol/webapi"
)
const (
@ -173,7 +176,10 @@ func init() {
}),
OnChildRespWrapper: transact.OnChildRespWrapper(func(tNode *transact.TransNode, hChild transact.TransNodeID, retCode int, ud interface{}) transact.TransExeResult {
logger.Logger.Tracef("GameSrvApi OnChildRespWrapper %v:%v", hChild, ud)
msg, ok := ud.(*webapi.SARoomInfo)
if ok && msg.GetTag() == webapi.TagCode_SUCCESS {
tNode.TransEnv.SetField(GAMESRVAPI_TRANSACTE_RESPONSE, ud)
}
return transact.TransExeResult(retCode)
}),
})

Binary file not shown.

Binary file not shown.