pre_develop
daiao 6 years ago
parent 6ecea79dc3
commit d36972bec9

@ -46,7 +46,7 @@ module Mobile
if session[:user_id].blank?
user = User.find(params[:userId])
return { error: -1, messages: "用户不存在,请先创建用户" } unless user.user_source
session[:user_id] = user.user_source.id
session[:user_id] = user.id
end
CnmoocsService.new.source_url(params)
end

Loading…
Cancel
Save