Commit d42f17db8be0dc89d0bf54c61c66d102582bdfb6

Authored by 陆恒
1 parent c22398ac
Exists in master

提交

src/HttpServer/logic/function.go
... ... @@ -914,6 +914,8 @@ func (u *UserData) HandlePassDay(uuid int, channel string) {
914 914 u.FetchRdBagNum = 0
915 915 u.SignShow = 1
916 916  
  917 + u.Hfen = 0
  918 +
917 919 //任务也需要处理
918 920 /*tasklist, err := GetTaskInfo(u.Userid, 1)
919 921 if err == nil {
... ...
src/HttpServer/logic/logic.go
... ... @@ -551,6 +551,8 @@ func HandlerUploadscore(w http.ResponseWriter, data string, uuid int) {
551 551 break
552 552 }
553 553  
  554 + uinfo.HandlePassDay(uuid, rdata.Channel)
  555 +
554 556 if uinfo.Hfen >= rdata.Score {
555 557 //resp.Message = "服务器错误"
556 558 resp.Code = 0
... ...