|
|
@@ -18,7 +18,6 @@ const SocketConfig = {
|
|
|
};
|
|
|
class SocketUtil {
|
|
|
constructor({ url, onOpen, onMessage, onClose, onError }) {
|
|
|
- // this.url = url || "api.shop.hzghd.com:8282";
|
|
|
this.url = url || `${extConfig.socketApiHost}:8282`;
|
|
|
this.socket = this.connectSocket(this.url);
|
|
|
this.onOpenCall = onOpen;
|