|
|
@@ -17,7 +17,7 @@ const SocketConfig = {
|
|
|
};
|
|
|
class SocketUtil {
|
|
|
constructor({ url, onOpen, onMessage, onClose, onError }) {
|
|
|
- this.url = url || "api.ghs.huaml.com:8282";
|
|
|
+ this.url = url || "api.shop.hzghd.com:8282";
|
|
|
this.socket = this.connectSocket(this.url);
|
|
|
this.onOpenCall = onOpen;
|
|
|
this.onMessageCall = onMessage;
|