MihoyoBBSTools/index.py
2021-06-13 19:39:56 +08:00

15 lines
365 B
Python
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.

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