Commit d42f17db8be0dc89d0bf54c61c66d102582bdfb6
1 parent
c22398ac
Exists in
master
提交
Showing
2 changed files
with
4 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/function.go
@@ -914,6 +914,8 @@ func (u *UserData) HandlePassDay(uuid int, channel string) { | @@ -914,6 +914,8 @@ func (u *UserData) HandlePassDay(uuid int, channel string) { | ||
914 | u.FetchRdBagNum = 0 | 914 | u.FetchRdBagNum = 0 |
915 | u.SignShow = 1 | 915 | u.SignShow = 1 |
916 | 916 | ||
917 | + u.Hfen = 0 | ||
918 | + | ||
917 | //任务也需要处理 | 919 | //任务也需要处理 |
918 | /*tasklist, err := GetTaskInfo(u.Userid, 1) | 920 | /*tasklist, err := GetTaskInfo(u.Userid, 1) |
919 | if err == nil { | 921 | if err == nil { |
src/HttpServer/logic/logic.go
@@ -551,6 +551,8 @@ func HandlerUploadscore(w http.ResponseWriter, data string, uuid int) { | @@ -551,6 +551,8 @@ func HandlerUploadscore(w http.ResponseWriter, data string, uuid int) { | ||
551 | break | 551 | break |
552 | } | 552 | } |
553 | 553 | ||
554 | + uinfo.HandlePassDay(uuid, rdata.Channel) | ||
555 | + | ||
554 | if uinfo.Hfen >= rdata.Score { | 556 | if uinfo.Hfen >= rdata.Score { |
555 | //resp.Message = "服务器错误" | 557 | //resp.Message = "服务器错误" |
556 | resp.Code = 0 | 558 | resp.Code = 0 |