Commit 85fd78bb74e0039ebc2d3413be892450c5231c3c
1 parent
c710962c
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/logic.go
... | ... | @@ -1024,7 +1024,7 @@ func HandlerGettaskreward(w http.ResponseWriter, data string, uuid int) { |
1024 | 1024 | //需要先计算出任务或者成就 |
1025 | 1025 | var tasklist *TaskList |
1026 | 1026 | //先查询一下当前的任务数据 |
1027 | - tasklist, err = GetTaskInfo(uuid, rdata.Tasktype, rdata.Channel) | |
1027 | + tasklist, err = GetTaskInfo(uuid, 1, rdata.Channel) | |
1028 | 1028 | if err != nil || tasklist == nil { |
1029 | 1029 | logger.Error("GetTaskInfo failed err=%v", err) |
1030 | 1030 | resp.Message = "服务器错误" | ... | ... |