json.status 0 json.message "success" json.data do if @ob_repository_sync json.extract! @ob_repository_sync, :user_id, :name, :github_address, :gitee_address, :github_token, :gitee_token,:sync_id, :created_at, :updated_at end end