Files
QingLong/AI/WxMini/Test/NEWS2.py
2025-08-15 09:13:13 +08:00

12 lines
273 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.

from WxMini.Utils.NewsUtil import *
# 示例调用
if __name__ == '__main__':
user_input = "最近CBA的比赛结果怎么样"
result=get_news(user_input)
if result is not None:
print(result)
else:
print("No results found.")