#106: support builtin functions

This commit is contained in:
debugtalk
2018-02-28 23:56:10 +08:00
parent e91fef2595
commit f1cac82a15
4 changed files with 31 additions and 1 deletions

View File

@@ -34,3 +34,9 @@ bind_module_functions:
- random: ${gen_random_string(5)}
- data: "{'name': 'user', 'password': '123456'}"
- authorization: ${gen_md5($TOKEN, $data, $random)}
builtin_functions:
variables:
- length: ${len(debugtalk)}
- smallest: ${min(2, 3, 8)}
- largest: ${max(2, 3, 8)}