|
@@ -364,7 +364,7 @@ func GetFinishCount(params map[string]string, blockStarChain string, engine *xor |
|
|
switch task.TaskType { |
|
|
switch task.TaskType { |
|
|
case 20: |
|
|
case 20: |
|
|
var money float64 = 0 |
|
|
var money float64 = 0 |
|
|
shownewFinTotal, _ := db.SysCfgGetOne(engine, "shownew_fin_total") |
|
|
|
|
|
|
|
|
shownewFinTotal, _ := db.SysCfgGetOne(engine, "shownew_fin_total2") |
|
|
if shownewFinTotal != nil && shownewFinTotal.Val == "1" { |
|
|
if shownewFinTotal != nil && shownewFinTotal.Val == "1" { |
|
|
var userStatistics model.UserStatistics |
|
|
var userStatistics model.UserStatistics |
|
|
engine.Where("uid=?", uid).Get(&userStatistics) |
|
|
engine.Where("uid=?", uid).Get(&userStatistics) |
|
|