|
@@ -28,7 +28,7 @@ func CommUpdate(blockStarChain string, eg *xorm.Engine, dbName string, user *mod |
|
|
lv := user.Level |
|
|
lv := user.Level |
|
|
result, AutoAudit := CommUplv(blockStarChain, eg, dbName, user, lv, DataDetail) |
|
|
result, AutoAudit := CommUplv(blockStarChain, eg, dbName, user, lv, DataDetail) |
|
|
if result == false { |
|
|
if result == false { |
|
|
return errors.New("升级失败,未完成必做任务"), false, AutoAudit |
|
|
|
|
|
|
|
|
return errors.New("升级失败,请查看任务是否完成"), false, AutoAudit |
|
|
} |
|
|
} |
|
|
return nil, result, AutoAudit |
|
|
return nil, result, AutoAudit |
|
|
} |
|
|
} |
|
|