File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ def ForwardMessage(self , **params) -> Dict:
134134 return self .post (WECHAT_MSG_FORWARD_MESSAGE , ForwardMessageBody (** params ))
135135
136136 def GetQrcodeImage (self , ** params ):
137- r = requests .post ( f"http://127.0.0.1 :{ self .port } /api/?type={ WECHAT_GET_QRCODE_IMAGE } " , data = GetQrcodeImageBody (** params ).json ())
137+ r = requests .post ( f"http://{ self . host } :{ self .port } /api/?type={ WECHAT_GET_QRCODE_IMAGE } " , data = GetQrcodeImageBody (** params ).json ())
138138 return r .content
139139
140140 def GetA8Key (self , ** params ) -> Dict :
@@ -155,7 +155,7 @@ def SendEmotion(self , **params) -> Dict:
155155 def GetCdn (self , ** params ) -> Dict :
156156 return self .post (WECHAT_GET_CDN , GetCdnBody (** params ))
157157
158- #[自定义
158+ 127 #[自定义
159159 def GetDBHandle (self , db_name = "MicroMsg.db" ) -> int :
160160 if not self .db_handle :
161161 self .db_handle = {i ["db_name" ]: i ["handle" ] for i in self .GetDatabaseHandles ()["data" ]}
You can’t perform that action at this time.
0 commit comments