Files
2025-10-22 07:50:31 +08:00

8 lines
346 B
JavaScript
Raw Permalink 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.

'use strict';
// 注意此为云函数路由入口文件请勿修改此文件代码你自己的云函数逻辑应写在service目录下
const vk = require('vk-unicloud'); // vk-unicloud 工具包
vk.init(require('./config.js'));
exports.main = async (event, context) => {
return await vk.router({ event, context, vk });
};