Commit f162bb3b by xmh

菜单部分

1 parent 7c529878
...@@ -115,6 +115,10 @@ ...@@ -115,6 +115,10 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId> <artifactId>spring-boot-starter-websocket</artifactId>
</dependency> </dependency>
<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: ...@@ -2,7 +2,7 @@ server:
port: 12100 port: 12100
spring: spring:
profiles: profiles:
active: pro active: dev
sa-token: sa-token:
token-name: token token-name: token
activity-timeout: 36000 activity-timeout: 36000
...@@ -20,3 +20,36 @@ pagehelper: ...@@ -20,3 +20,36 @@ pagehelper:
reasonable: true reasonable: true
supportMethodsArguments: true supportMethodsArguments: true
params: count=countByExample params: count=countByExample
vion:
menu-map:
0:
- "标注"
- "提交质检"
- "标注工作薄"
- "质检审核"
- "项目管理"
- "外包公司"
- "账号管理-外包"
- "账号管理-内部"
1:
- "标注"
- "提交质检"
- "标注工作薄"
- "质检审核"
- "项目管理"
- "外包公司"
- "账号管理-外包"
- "账号管理-内部"
2:
- "质检审核"
3:
- "标注"
- "提交质检"
- "标注工作薄"
- "账号管理-外包"
4:
- "质检审核"
5:
- "标注"
6:
- "标注"
\ No newline at end of file \ No newline at end of file
server.port=12101 server.port=12101
# database # database
spring.datasource.url=jdbc:postgresql://36.112.68.214:5432/benfei #spring.datasource.url=jdbc:postgresql://36.112.68.214:5432/benfei
spring.datasource.username=postgres #spring.datasource.username=postgres
spring.datasource.password=vion #spring.datasource.password=vion
#spring.datasource.url=jdbc:postgresql://pgm-2ze197c18ro6p1r1fo.pg.rds.aliyuncs.com:3433/ShoppingMall_retail2.0 spring.datasource.url=jdbc:postgresql://pgm-2ze197c18ro6p1r1fo.pg.rds.aliyuncs.com:3433/ShoppingMall_retail2.0
#spring.datasource.username=vion spring.datasource.username=vion
#spring.datasource.password=cdmqYwBq9uAdvLJb spring.datasource.password=cdmqYwBq9uAdvLJb
# redis # redis
spring.redis.host=127.0.0.1 spring.redis.host=127.0.0.1
spring.redis.port=6379 spring.redis.port=6379
...@@ -14,8 +14,9 @@ spring.redis.password=vionredis ...@@ -14,8 +14,9 @@ spring.redis.password=vionredis
logging.level.com.viontech.label.mapper=error logging.level.com.viontech.label.mapper=error
debug=false debug=false
vion.local-client=true vion.local-client=true
vion.target-url=http://36.112.68.214:12100/reid/upload #vion.target-url=http://36.112.68.214:12100/reid/upload
#vion.keliu-image-url=https://vion-retail.oss-cn-beijing.aliyuncs.com/ vion.target-url=http://127.0.0.1:12100/reid/upload
vion.keliu-image-path=/jason/VVAS/jingmao/ 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!