forked from Gitlink/forgeplus
fix end keyword bug
This commit is contained in:
parent
600d6ab174
commit
e927f95d4f
|
@ -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…
Reference in New Issue