Compare commits

...

2 Commits

Author SHA1 Message Date
xxq250 d44ab6c012 fixed 打分已达上限5次有分才算 2025-08-01 10:23:32 +08:00
xxq250 9c1540da19 fixed 打分已达上限5次有分才算 2025-08-01 10:22:36 +08:00
1 changed files with 2 additions and 2 deletions

View File

@ -6,10 +6,10 @@ class CompetitionUserScore < ApplicationRecord
def api_result_text
"" if self.api_status != 3 || self.api_result.blank?
data = api_result["data"]
data = api_result
data["msg"].present? ? data["msg"] : data["errorOutput"].present? ? data["errorOutput"] : "系统打分错误,信息不详"
rescue =>err
return nil
return "错误信息不详"
end
def api_result_data