Commit 9c9796f0 authored by 赵啸非's avatar 赵啸非

更改上传文件大小限制

parent 2e4b8070
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vue-cli-service serve", "dev": "vue-cli-service serve",
"dev1": "vue-cli-service serve --mode test",
"build": "vue-cli-service build", "build": "vue-cli-service build",
"test": "vue-cli-service build --mode test", "test": "vue-cli-service build --mode test",
"build:prod": "vue-cli-service build --model prod" "build:prod": "vue-cli-service build --model prod"
......
...@@ -30,6 +30,9 @@ import { createSocket } from "@/assets/utils/websocket"; ...@@ -30,6 +30,9 @@ import { createSocket } from "@/assets/utils/websocket";
export default { export default {
name: "login", name: "login",
created() { created() {
console.log("url:"+process.env.VUE_APP_PORTAL_URL)
// let obj = {}; // let obj = {};
// obj.lng = 104.21; // obj.lng = 104.21;
// obj.lat = 30.56; // obj.lat = 30.56;
......
This diff is collapsed.
...@@ -138,12 +138,12 @@ start_service_and_nginx() { ...@@ -138,12 +138,12 @@ start_service_and_nginx() {
writelog "${PROJECT_NAME}服务启动..." writelog "${PROJECT_NAME}服务启动..."
systemctl enable ${PROJECT_NAME} systemctl enable ${PROJECT_NAME}
systemctl daemon-reload systemctl daemon-reload
systemctl stop ${PROJECT_NAME} systemctl stop ${PROJECT_NAME} && systemctl start ${PROJECT_NAME}
systemctl start ${PROJECT_NAME} project_status=$(systemctl status "${PROJECT_NAME}"|grep Active |awk '{print $2}')
nginx -t nginx -t
nginx -s reload nginx -s reload
jcpid=$(ps -ef | grep -v "grep" | grep "${PROJECT_NAME} " | awk '{print $2}') jcpid=$(ps -ef | grep -v "grep" | grep "${PROJECT_NAME} " | awk '{print $2}')
writelog "${PROJECT_NAME}服务启动,PID is ${jcpid}" writelog "${PROJECT_NAME}服务启动,PID is ${jcpid} ,status:${project_status}"
} }
#部署后台服务 #部署后台服务
project_deploy() { project_deploy() {
......
...@@ -33,6 +33,10 @@ public class ServerInfo implements Serializable { ...@@ -33,6 +33,10 @@ public class ServerInfo implements Serializable {
* 前端对接平台接口地址 * 前端对接平台接口地址
*/ */
private String serverUrl; private String serverUrl;
/**
* 事件服务器地址
*/
private String eventUrl;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment