Commit a5ebe7e1 authored by vicotor's avatar vicotor

update

parent 68876c43
...@@ -98,6 +98,7 @@ func (c *CacheData) Query(path string, uid int64) (*model.TaskType, error) { ...@@ -98,6 +98,7 @@ func (c *CacheData) Query(path string, uid int64) (*model.TaskType, error) {
if passed { if passed {
// cost a free time. // cost a free time.
c.costFreeTime(uid, user, userLevel, task, userLevelAndTaskType) c.costFreeTime(uid, user, userLevel, task, userLevelAndTaskType)
task.Price = 0 // set task price to 0.
return task, nil return task, nil
} }
// b. continue check balance is enough for task.Fee // b. continue check balance is enough for task.Fee
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment