Commit f162bb3b by xmh

菜单部分

1 parent 7c529878
......@@ -115,6 +115,10 @@
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
<dependency>
......
package com.viontech.label.platform.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import java.util.List;
import java.util.Map;
/**
* .
*
* @author 谢明辉
* @date 2021/9/10
*/
@Configuration
@ConfigurationProperties(prefix = "vion")
public class MenuConfig {
private Map<Integer, List<String>> menuMap;
public Map<Integer, List<String>> getMenuMap() {
return menuMap;
}
public MenuConfig setMenuMap(Map<Integer, List<String>> menuMap) {
this.menuMap = menuMap;
return this;
}
}
......@@ -2,7 +2,7 @@ server:
port: 12100
spring:
profiles:
active: pro
active: dev
sa-token:
token-name: token
activity-timeout: 36000
......@@ -20,3 +20,36 @@ pagehelper:
reasonable: true
supportMethodsArguments: true
params: count=countByExample
vion:
menu-map:
0:
- "标注"
- "提交质检"
- "标注工作薄"
- "质检审核"
- "项目管理"
- "外包公司"
- "账号管理-外包"
- "账号管理-内部"
1:
- "标注"
- "提交质检"
- "标注工作薄"
- "质检审核"
- "项目管理"
- "外包公司"
- "账号管理-外包"
- "账号管理-内部"
2:
- "质检审核"
3:
- "标注"
- "提交质检"
- "标注工作薄"
- "账号管理-外包"
4:
- "质检审核"
5:
- "标注"
6:
- "标注"
\ No newline at end of file
server.port=12101
# database
spring.datasource.url=jdbc:postgresql://36.112.68.214:5432/benfei
spring.datasource.username=postgres
spring.datasource.password=vion
#spring.datasource.url=jdbc:postgresql://pgm-2ze197c18ro6p1r1fo.pg.rds.aliyuncs.com:3433/ShoppingMall_retail2.0
#spring.datasource.username=vion
#spring.datasource.password=cdmqYwBq9uAdvLJb
#spring.datasource.url=jdbc:postgresql://36.112.68.214:5432/benfei
#spring.datasource.username=postgres
#spring.datasource.password=vion
spring.datasource.url=jdbc:postgresql://pgm-2ze197c18ro6p1r1fo.pg.rds.aliyuncs.com:3433/ShoppingMall_retail2.0
spring.datasource.username=vion
spring.datasource.password=cdmqYwBq9uAdvLJb
# redis
spring.redis.host=127.0.0.1
spring.redis.port=6379
......@@ -14,8 +14,9 @@ spring.redis.password=vionredis
logging.level.com.viontech.label.mapper=error
debug=false
vion.local-client=true
vion.target-url=http://36.112.68.214:12100/reid/upload
#vion.keliu-image-url=https://vion-retail.oss-cn-beijing.aliyuncs.com/
vion.keliu-image-path=/jason/VVAS/jingmao/
#vion.target-url=http://36.112.68.214:12100/reid/upload
vion.target-url=http://127.0.0.1:12100/reid/upload
vion.keliu-image-url=https://vion-retail.oss-cn-beijing.aliyuncs.com/
#vion.keliu-image-path=/jason/VVAS/jingmao/
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!