Files
qiming/qiming-run_code_rmcp/fixtures/rfunction_js_test3.js
2026-06-01 13:43:09 +08:00

14 lines
553 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//引入js组件,必须是http(s)形式引入,可以去网站: https://deno.land/x 搜索自己所需组件
//下面是一个引入示例
//import * as o from https://deno.land/x/cowsay/mod.ts
//网络请求,可以直接使用fetch ,具体自行查阅 fetch 文档
//打印日志使用console,比如:console.log
// 入口函数不可修改否则无法执行args 为配置的入参
export default async function main(args) {
// 构建输出对象出参中的key需与配置的出参保持一致
return {
key: 'value',
};
}