fix end keyword bug

This commit is contained in:
zhangxunhui 2022-05-15 09:35:52 +08:00
parent 600d6ab174
commit e927f95d4f
1 changed files with 1 additions and 0 deletions

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