Commit db3e7101 authored by brent's avatar brent

modify price

parent 2cc6d20e
...@@ -1896,7 +1896,7 @@ func (server *TaskController) GetTaskTypes() { ...@@ -1896,7 +1896,7 @@ func (server *TaskController) GetTaskTypes() {
Model: data.Model, Model: data.Model,
Version: data.Version, Version: data.Version,
Desc: data.Desc, Desc: data.Desc,
Price: float64(data.Price / 1000000), Price: float64(data.Price) / 1000000,
PublicKey: data.PublicKey, PublicKey: data.PublicKey,
Complexity: data.Complexity, Complexity: data.Complexity,
Type: models.ModelType(data.Type), Type: models.ModelType(data.Type),
...@@ -2218,7 +2218,7 @@ func (server *TaskController) Examples() { ...@@ -2218,7 +2218,7 @@ func (server *TaskController) Examples() {
ResultFileExpires: data.ResultFileExpires, ResultFileExpires: data.ResultFileExpires,
AccessStatus: data.AccessStatus, AccessStatus: data.AccessStatus,
PublishStatus: data.PublishStatus, PublishStatus: data.PublishStatus,
Price: float64(data.Price / 1000000), Price: float64(data.Price) / 1000000,
Unit: data.Unit, Unit: data.Unit,
Sort: data.Sort, Sort: data.Sort,
EstimatExeTime: data.EstimatExeTime, EstimatExeTime: data.EstimatExeTime,
......
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