Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
谢明辉
/
vion-label
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f162bb3b
authored
Sep 10, 2021
by
xmh
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
菜单部分
1 parent
7c529878
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
78 additions
and
10 deletions
label-platform/pom.xml
label-platform/src/main/java/com/viontech/label/platform/config/MenuConfig.java
label-platform/src/main/resources/application.yml
label-tool-keliu/src/main/resources/application-option.properties
label-platform/pom.xml
View file @
f162bb3
...
...
@@ -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>
...
...
label-platform/src/main/java/com/viontech/label/platform/config/MenuConfig.java
0 → 100644
View file @
f162bb3
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
;
}
}
label-platform/src/main/resources/application.yml
View file @
f162bb3
...
...
@@ -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
label-tool-keliu/src/main/resources/application-option.properties
View file @
f162bb3
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/
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment