diff --git a/src/main/java/com/auxiliary/datadriven/Functions.java b/src/main/java/com/auxiliary/datadriven/Functions.java index 78600ba..c05d061 100644 --- a/src/main/java/com/auxiliary/datadriven/Functions.java +++ b/src/main/java/com/auxiliary/datadriven/Functions.java @@ -3,6 +3,7 @@ package com.auxiliary.datadriven; import com.auxiliary.tool.data.CarLicecenType; import com.auxiliary.tool.data.MobleNumberType; import com.auxiliary.tool.data.PresetString; +import com.auxiliary.tool.data.RandomObject; import com.auxiliary.tool.data.RandomString; import com.auxiliary.tool.data.StringMode; import com.auxiliary.tool.date.Time; @@ -347,4 +348,47 @@ public class Functions { } }); } + + /** + * 定义根据预设词语随机返回函数,该函数需要预先设定切分词语的标识符 + *
+ * 用法:${word(词语(,词语))} + *
+ *+ * 参数解释: + *
+ *
+ * 示例: + *
+ * 注意: + *