|
|
@@ -13,13 +13,11 @@ import com.goafanti.common.model.User;
|
|
|
import com.goafanti.common.utils.HttpUtils;
|
|
|
import com.goafanti.common.utils.StringUtils;
|
|
|
import com.goafanti.core.mybatis.BaseMybatisDao;
|
|
|
-import com.goafanti.core.shiro.token.TokenManager;
|
|
|
import com.goafanti.core.websocket.SystemWebSocketHandler;
|
|
|
import com.goafanti.customer.bo.InputCallNumber;
|
|
|
import com.goafanti.customer.service.UserOutboundService;
|
|
|
import org.apache.shiro.crypto.hash.SimpleHash;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
-import org.springframework.web.socket.TextMessage;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
import java.util.HashMap;
|
|
|
@@ -132,8 +130,10 @@ public class UserOutboundServiceImpl extends BaseMybatisDao<UserArchivesMapper>
|
|
|
|
|
|
@Override
|
|
|
public Object callCompleted(InputCallCompleter in) {
|
|
|
+ Map<String, Object> notify = in.getNotify();
|
|
|
+
|
|
|
//需要关闭客户呼叫中
|
|
|
- systemWebSocketHandler.sendMessageToUser(TokenManager.getAdminId(), new TextMessage("callCompleted"));
|
|
|
+// systemWebSocketHandler.sendMessageToUser(TokenManager.getAdminId(), new TextMessage("callCompleted"));
|
|
|
return 1;
|
|
|
}
|
|
|
|