"None" 没有 "encode" 属性或方法
Traceback (most recent call last):
File "D:\电脑软件\ShadowBot\shadowbot-5.10.36\python\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "D:\电脑软件\ShadowBot\shadowbot-5.10.36\python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\电脑软件\ShadowBot\shadowbot-5.10.36\python\lib\site-packages\xbot_interpreter.py", line 87, in <module>
main()
File "D:\电脑软件\ShadowBot\shadowbot-5.10.36\python\lib\site-packages\xbot_interpreter.py", line 49, in main
mod.main(args)
File "C:\Users\fanxi\AppData\Local\ShadowBot\users\60496075704209409\apps\4c27fd14-9ae7-48a0-9d6a-5adbe35de7c7\xbot_robot\main.py", line 158, in main
xbot_visual.web_service.send_dingtalk_msg(webhook="https://oapi.dingtalk.com/robot/send?access_token=90e855b5c7b02bf1836f411f182b7ad4f3f575d29b0acaf0149682d1fad8572b", secret=None, msgtype="text", text_content="单据流转完成", markdown_text="", at_mobiles=None, is_at_all=True, _block=("main", 114, "钉钉群通知"))
File "<string>", line 89, in wrapper
File "<string>", line 84, in wrapper
File "<string>", line 367, in send_dingtalk_msg
AttributeError: 'NoneType' object has no attribute 'encode'