Browse Source

fix end keyword bug

pull/319/head
zhangxunhui 4 years ago
parent
commit
e927f95d4f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/services/application_service.rb

+ 1
- 0
app/services/application_service.rb View File

@@ -107,6 +107,7 @@ class ApplicationService
}.to_json
results = invoke_blockchain_api(Blockchain.blockchain_config[:api_url], param)
return results
end
def phone_mail_type value
value =~ /^1\d{10}$/ ? 1 : 0
end


Loading…
Cancel
Save