From 55bcb9308a0e9b7f8294e4230dad9c5c3b8476d8 Mon Sep 17 00:00:00 2001 From: Womsxd <45663319+Womsxd@users.noreply.github.com> Date: Sun, 13 Jun 2021 19:39:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=91=E5=87=BD=E6=95=B0=E6=94=AF=E6=8C=81:p?= =?UTF-8?q?re?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 index.py diff --git a/index.py b/index.py new file mode 100644 index 0000000..c30d812 --- /dev/null +++ b/index.py @@ -0,0 +1,14 @@ +import main +import main_multi + + +def main_handler(event:dict, context:dict): + main.main() + print("云函数测试支持!") + return 0 + +def main_handler_mulit(event:dict, context:dict): + #多用户需要传递True表示自动执行,不需要手动进行确认 + main_multi.main_multi(True) + print("云函数多用户测试支持!") + return 0