💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
~~~ 使用 mock模拟接口 语法 { "base": { //生成随机数组 "range": "@range(3, 7)", //生成随机字符串 "string": "@string(7, 20)", //生成随机字符 "character": "@character('abcde')", //生成随机数 "float": "@float(60, 100)", "integer": "@integer(60, 100)", //生成随机自然数 "natural": "@natural(60, 100)", "boolean": "@boolean" }, //生成随机时间 "date": { "date": "@date", "time": "@time", "datetime": "@datetime", "now": "@now" }, "image": { "image": "@image('200x100', '#50B347', '#FFF', 'EasyMock')" }, "color": { "color": "@color", "hex": "@hex", "rgb": "@rgb", "rgba": "@rgba", "hsl": "@hsl" }, "text": { "paragraph": "@paragraph(1, 3)", "sentence": "@sentence(3, 5)", "word": "@word(3, 5)", "title": "@title(3, 5)", "cparagraph": "@cparagraph(1, 3)", "csentence": "@csentence(3, 5)", "cword": "@cword('零一二三四五六七八九十', 5, 7)", "ctitle": "@ctitle(3, 5)" }, "name": { "first": "@first", "last": "@last", "name": "@name", "cfirst": "@cfirst", "clast": "@clast", "cname": "@cname" }, "web": { "url": "@url", "domain": "@domain", "protocol": "@protocol", "tld": "@tld", "email": "@email", "ip": "@ip" }, "address": { "region": "@region", "province": "@province", "city": "@city(true)", "county": "@county(true)", "zip": "@zip" }, "helper": { "capitalize": "@capitalize('hello')", "upper": "@upper('hello')", "lower": "@lower('HELLO')", "pick": "@pick(['a', 'e', 'i', 'o', 'u'])", "shuffle": "@shuffle(['a', 'e', 'i', 'o', 'u'])" }, "miscellaneous": { "id": "@id", "guid": "@guid", "increment": "@increment(1000)" } } ~~~