diff --git a/root/api/dict.js b/root/api/dict.js new file mode 100644 index 0000000..e0f640d --- /dev/null +++ b/root/api/dict.js @@ -0,0 +1,9 @@ +/** + * 字典管理 + * @type {{}} + */ +const dict = { + list({type}) { + return red.postX('/dict/list', {type}) + } +} \ No newline at end of file diff --git a/root/index.html b/root/index.html index 539c461..de11136 100644 --- a/root/index.html +++ b/root/index.html @@ -4,9 +4,9 @@