休闲平台每局详情修改
This commit is contained in:
parent
4ffdb28075
commit
d65d4067ce
|
@ -319,6 +319,7 @@ type PlatfromGamedetailReq struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type PlatfromPlayerScoreInfo struct {
|
type PlatfromPlayerScoreInfo struct {
|
||||||
|
Index string `json:"index"` //序号
|
||||||
SnId int32 `json:"snid"` //用户Id
|
SnId int32 `json:"snid"` //用户Id
|
||||||
UserName string `json:"username"` // 账号
|
UserName string `json:"username"` // 账号
|
||||||
BeforeCount int64 `json:"beforecount"` //账号变化前数量
|
BeforeCount int64 `json:"beforecount"` //账号变化前数量
|
||||||
|
|
|
@ -3431,6 +3431,7 @@ func init() {
|
||||||
}), task.CompleteNotifyWrapper(func(i interface{}, t task.Task) {
|
}), task.CompleteNotifyWrapper(func(i interface{}, t task.Task) {
|
||||||
for _, v := range logs {
|
for _, v := range logs {
|
||||||
pack.Data.PlayersInfo = append(pack.Data.PlayersInfo, webapi.PlatfromPlayerScoreInfo{
|
pack.Data.PlayersInfo = append(pack.Data.PlayersInfo, webapi.PlatfromPlayerScoreInfo{
|
||||||
|
Index: v.LogId.Hex(),
|
||||||
SnId: v.SnId,
|
SnId: v.SnId,
|
||||||
UserName: v.UserName,
|
UserName: v.UserName,
|
||||||
Count: v.Count,
|
Count: v.Count,
|
||||||
|
@ -3439,7 +3440,7 @@ func init() {
|
||||||
BaseCoin: v.BaseCoin,
|
BaseCoin: v.BaseCoin,
|
||||||
LogType: v.LogType,
|
LogType: v.LogType,
|
||||||
Remark: v.Remark,
|
Remark: v.Remark,
|
||||||
BeforeCount: v.RestCount + v.Count,
|
BeforeCount: v.RestCount - v.Count,
|
||||||
GameEndTime: v.Time.Format(time.DateTime),
|
GameEndTime: v.Time.Format(time.DateTime),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue