pre_develop
daiao 6 years ago
parent 833a99dfb6
commit 51e4759bcc

@ -115,7 +115,7 @@ class CnmoocsService
end end
def source_url(params) def source_url(params)
shixun = Shixun.find_by_identifier(params[:resouceId]) shixun = Shixun.find_by_id(params[:resouceId])
if shixun.blank? if shixun.blank?
return { error: -1, messages: '资源不存在' } return { error: -1, messages: '资源不存在' }
end end

Loading…
Cancel
Save