| | |
| | | result, need_delegate = LocalKanPanNetworkDelegate.http_delegate_request(url) |
| | | if not need_delegate: |
| | | result = network_util.http_get(url) |
| | | print("请求结果:", result) |
| | | print(url, "请求结果:", result) |
| | | self.signal_request.emit(callback_info[0], callback_info[1], result) |
| | | return result |
| | | except Exception as e: |
| | |
| | | def add_code_to_ths(self, code): |
| | | # 添加到同花顺 |
| | | threading.Thread(target=lambda: ths_util.add_code_to_zixuan(code), daemon=True).start() |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | class SecondWindowBridgeClass(BaseBridgeClass): |
| | |
| | | except Exception as e: |
| | | logging.exception(e) |
| | | |
| | | |
| | | # 打包命令 |
| | | # cd D:\workspace\GP\trade_desk |
| | | # D:\workspace\GP\trade_desk\dist\env\pk_env\Scripts\pyinstaller.exe main.spec |