2021-06-13 11:39:56 +00:00
|
|
|
|
import main
|
|
|
|
|
import main_multi
|
|
|
|
|
|
|
|
|
|
|
2021-10-25 14:53:34 +00:00
|
|
|
|
def main_handler(event: dict, context: dict):
|
2021-06-13 11:39:56 +00:00
|
|
|
|
main.main()
|
|
|
|
|
print("云函数测试支持!")
|
|
|
|
|
return 0
|
|
|
|
|
|
2021-10-25 14:53:34 +00:00
|
|
|
|
|
|
|
|
|
def main_handler_mulit(event: dict, context: dict):
|
|
|
|
|
# 多用户需要传递True表示自动执行,不需要手动进行确认
|
2021-06-13 11:39:56 +00:00
|
|
|
|
main_multi.main_multi(True)
|
|
|
|
|
print("云函数多用户测试支持!")
|
|
|
|
|
return 0
|