Commit 0af9891570f7a5e0d384199f142a08f0e729d5fc
1 parent
3d999cd4
Exists in
master
提交
Showing
2 changed files
with
4 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/constdef.go
src/HttpServer/logic/logic.go
@@ -1143,6 +1143,8 @@ func HandlerUpdatetaskandachieve(w http.ResponseWriter, data string, uuid int) { | @@ -1143,6 +1143,8 @@ func HandlerUpdatetaskandachieve(w http.ResponseWriter, data string, uuid int) { | ||
1143 | } | 1143 | } |
1144 | 1144 | ||
1145 | switch rdata.Tasktype { | 1145 | switch rdata.Tasktype { |
1146 | + case TASKTYPE_CORRECT: | ||
1147 | + uinfo.Task.GuessSong += rdata.Value | ||
1146 | case TASKTYPE_WATCHADS: | 1148 | case TASKTYPE_WATCHADS: |
1147 | uinfo.Task.WatchAds += rdata.Value | 1149 | uinfo.Task.WatchAds += rdata.Value |
1148 | } | 1150 | } |