Merge pull request '返回逻辑调整' (#141) from KingChan/forgeplus:chenjing into standalone_develop
This commit is contained in:
commit
4d1be6134c
|
@ -362,7 +362,7 @@ class AccountsController < ApplicationController
|
|||
|
||||
def check_keywords
|
||||
text = params[:text].to_s.each_char.select { |c| c.bytes.first < 240 }.join('')
|
||||
data = ReversedKeyword.check_exists?(text)
|
||||
data = ! ReversedKeyword.check_exists?(text)
|
||||
result = {
|
||||
status: 0,
|
||||
data: data,
|
||||
|
|
Loading…
Reference in New Issue