diff --git a/services/biz_service.py b/services/biz_service.py index 62ab11d..b89a74a 100644 --- a/services/biz_service.py +++ b/services/biz_service.py @@ -244,7 +244,7 @@ class BizService(): self.wxchat.forward_video_aeskey = res["aesKey"] self.wxchat.forward_video_cdnvideourl = res["cdnThumbUrl"] self.wxchat.forward_video_length = res["length"] - self.wxchat.video_duration=video_duration + self.wxchat.video_duration=int(video_duration) else: ret,ret_msg,res = await self.wxchat.forward_video_async(token_id, app_id, t, self.wxchat.forward_video_aeskey, self.wxchat.forward_video_cdnvideourl, self.wxchat.forward_video_length,self.wxchat.video_duration) print('转发视频')