You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- class Traces::TraceUsersController < Traces::BaseController
- # before_action :check_auth
-
- def create
- if current_user.trace_token.present?
- render_ok
- else
- render_error(-1, "代码溯源用户初始化失败")
- end
- rescue Exception => exception
- puts exception.message
- normal_status(-1, exception.message)
- end
- end
|