策码奔腾

01 2022 档案

摘要:一,前端页面 1.原生请求 //建立连接 this.websocket = new WebSocket('ws://localhost:8085/websocket/user?token='+auth); //接收 this.websocket.onmessage = function(e){ co 阅读全文
posted @ 2022-01-27 10:18 策码奔腾 阅读(5145) 评论(0) 推荐(1)
摘要:1.创建springboot项目,依赖gateway。注意由于gateway依赖的是webflux,不可依赖springMVC <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-sta 阅读全文
posted @ 2022-01-17 17:42 策码奔腾 阅读(364) 评论(0) 推荐(0)
摘要:初始化 //查看当前用户 git config user.name git config user.email //配置用户 git config --global user.name "neikou" git config --global user.email "neikou001@gmail. 阅读全文
posted @ 2022-01-05 13:27 策码奔腾 阅读(51) 评论(0) 推荐(0)
摘要:linux一键自动部署 一、部署本地jar包 使用如下shell脚本,修改server_file和user变量指向本地环境,运行脚本完成部署 #!/bin/bash server_file="algorithm" user="ec2-user" echo "$server_file killing. 阅读全文
posted @ 2022-01-05 13:23 策码奔腾 阅读(441) 评论(0) 推荐(0)

console.log('欢迎');