Commit ef826b4c by zhanghj

V1.0.0--提交包活干配置文件相关东西

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18205 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 238dffbb
......@@ -13,5 +13,5 @@ spring.jackson.time-zone=GMT+8
##\u65e5\u5fd7 test
logging.level.com.glsx.manager=DEBUG
logging.path=/data/java_log/jetty/car-service-manager
logging.path=/data/java_log/jetty/carService/car-service-manager
logging.config=classpath:logback-spring.xml
spring.datasource.name=dev
spring.datasource.url=jdbc:mysql://192.168.0.39:3306/glsx_car_service
spring.datasource.username=root
spring.datasource.password=123456
#spring.datasource.connectionProperties="config.decrypt=true;config.decrypt.key=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANj300lzSmW05DuzVoluFG6oza+WlEbv2aYCQA2+pkf0mE4p19UAcxfY/BweOyJ6TBNoY5XebPqoiav5lsKVD6sCAwEAAQ=="
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.filters=stat
spring.datasource.maxActive=20
spring.datasource.initialSize=5
spring.datasource.maxWait=60000
spring.datasource.minIdle=5
spring.datasource.timeBetweenEvictionRunsMillis=60000
spring.datasource.minEvictableIdleTimeMillis=300000
spring.datasource.validationQuery=select 'x'
spring.datasource.testWhileIdle=true
spring.datasource.testOnBorrow=false
spring.datasource.testOnReturn=false
spring.datasource.poolPreparedStatements=true
spring.datasource.maxOpenPreparedStatements=50
#mybatis\u96c6\u6210\u914d\u7f6e
mybatis.mapperLocations=classpath*:mapper/*.xml
mybatis.typeAliasesPackage=com.glsx.manager.pojo
#pagehelper
pagehelper.helperDialect=mysql
pagehelper.supportMethodsArguments=true
pagehelper.params=count=countSql
spring.jmx.enabled=false
# MULTIPART (MultipartProperties)
# Whether to enable support of multipart uploads.
spring.servlet.multipart.enabled=true
# Max file size. Values can use the suffixes "MB" or "KB" to indicate megabytes or kilobytes, respectively.
spring.servlet.multipart.max-file-size=20MB
# Max request size. Values can use the suffixes "MB" or "KB" to indicate megabytes or kilobytes, respectively.
spring.servlet.multipart.max-request-size=20MB
# REDIS (RedisProperties)
# Database index used by the connection factory.
spring.redis.database=0
# Redis server host.
spring.redis.host=192.168.0.39
# Maximum number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
spring.redis.lettuce.pool.max-active=32
# Maximum number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
spring.redis.lettuce.pool.max-idle=32
# Maximum amount of time a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely.
spring.redis.lettuce.pool.max-wait=-1ms
# Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
spring.redis.lettuce.pool.min-idle=0
# Shutdown timeout.
spring.redis.lettuce.shutdown-timeout=100ms
#Login password of the redis server.
spring.redis.password=hhxredis
# Redis server port.
spring.redis.port=6379
#Whether to enable SSL support.
spring.redis.ssl=false
# Connection timeout.
spring.redis.timeout=6000ms
#\u77ed\u4fe1
#sms.url=http://192.168.3.206:8118/router111
#sms.url=http://qcdidicb.glsx.net:7060/router
sms.source=frms_sms_assign
##fastdfs
fdfs.soTimeout=1500
fdfs.connectTimeout=600
fdfs.thumbImage.width=150
fdfs.thumbImage.height=150
fdfs.trackerList=192.168.0.63:22122
#fdfs_tracker_nginx_port=80
fdfs_tracker_nginx_domain=http://192.168.0.63
#eurekaClient
eureka.client.enabled=true
eureka.client.serviceUrl.defaultZone=http://localhost:8761/eureka/
#\u5fc3\u8df3
#eureka.instance.lease-renewal-interval-in-seconds=5
##feign\u914d\u7f6e
feign.client.config.default.connectTimeout=30000
feign.client.config.default.readTimeout=30000
feign.client.config.default.loggerLevel=basic
\ No newline at end of file
......@@ -7,5 +7,5 @@ server.port=8094
##\u65e5\u5fd7 test
logging.level.com.glsx.ordercenter=DEBUG
logging.path=/data/java_log/jetty/car-service-ordercenter
logging.path=/data/java_log/jetty/carService/car-service-ordercenter
logging.config=classpath:logback-spring.xml
spring.datasource.name=dev
spring.datasource.url=jdbc:mysql://192.168.0.39:3306/glsx_car_service
spring.datasource.username=root
spring.datasource.password=123456
#spring.datasource.connectionProperties="config.decrypt=true;config.decrypt.key=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANj300lzSmW05DuzVoluFG6oza+WlEbv2aYCQA2+pkf0mE4p19UAcxfY/BweOyJ6TBNoY5XebPqoiav5lsKVD6sCAwEAAQ=="
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.filters=stat
spring.datasource.maxActive=20
spring.datasource.initialSize=5
spring.datasource.maxWait=60000
spring.datasource.minIdle=5
spring.datasource.timeBetweenEvictionRunsMillis=60000
spring.datasource.minEvictableIdleTimeMillis=300000
spring.datasource.validationQuery=select 'x'
spring.datasource.testWhileIdle=true
spring.datasource.testOnBorrow=false
spring.datasource.testOnReturn=false
spring.datasource.poolPreparedStatements=true
spring.datasource.maxOpenPreparedStatements=50
#mybatis\u96c6\u6210\u914d\u7f6e
mybatis.mapperLocations=classpath*:mapper/*.xml
mybatis.typeAliasesPackage=com.glsx.ordercenter.pojo
#pagehelper
pagehelper.helperDialect=mysql
pagehelper.supportMethodsArguments=true
pagehelper.params=count=countSql
spring.jmx.enabled=false
# MULTIPART (MultipartProperties)
# Whether to enable support of multipart uploads.
spring.servlet.multipart.enabled=true
# Max file size. Values can use the suffixes "MB" or "KB" to indicate megabytes or kilobytes, respectively.
spring.servlet.multipart.max-file-size=20MB
# Max request size. Values can use the suffixes "MB" or "KB" to indicate megabytes or kilobytes, respectively.
spring.servlet.multipart.max-request-size=20MB
# REDIS (RedisProperties)
# Database index used by the connection factory.
spring.redis.database=0
# Redis server host.
spring.redis.host=192.168.0.39
# Maximum number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
spring.redis.lettuce.pool.max-active=32
# Maximum number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
spring.redis.lettuce.pool.max-idle=32
# Maximum amount of time a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely.
spring.redis.lettuce.pool.max-wait=-1ms
# Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
spring.redis.lettuce.pool.min-idle=0
# Shutdown timeout.
spring.redis.lettuce.shutdown-timeout=100ms
#Login password of the redis server.
spring.redis.password=hhxredis
# Redis server port.
spring.redis.port=6379
#Whether to enable SSL support.
spring.redis.ssl=false
# Connection timeout.
spring.redis.timeout=6000ms
#\u77ed\u4fe1
#sms.url=http://192.168.3.206:8118/router111
#sms.url=http://qcdidicb.glsx.net:7060/router
sms.source=frms_sms_assign
##fastdfs
fdfs.soTimeout=1500
fdfs.connectTimeout=600
fdfs.thumbImage.width=150
fdfs.thumbImage.height=150
fdfs.trackerList=192.168.0.63:22122
#fdfs_tracker_nginx_port=80
fdfs_tracker_nginx_domain=http://192.168.0.63
#eurekaClient
eureka.client.enabled=true
eureka.client.serviceUrl.defaultZone=http://localhost:8761/eureka/
#\u5fc3\u8df3
#eureka.instance.lease-renewal-interval-in-seconds=5
##feign\u914d\u7f6e
feign.client.config.default.connectTimeout=10000
feign.client.config.default.readTimeout=10000
feign.client.config.default.loggerLevel=basic
\ No newline at end of file
......@@ -7,5 +7,5 @@ server.port=8096
##\u65e5\u5fd7 test
logging.level.com.glsx.usercenter=DEBUG
logging.path=/data/java_log/jetty/car-service-publicservice
logging.path=/data/java_log/jetty/carService/car-service-publicservice
logging.config=classpath:logback-spring.xml
\ No newline at end of file
spring.datasource.name=dev
spring.datasource.url=jdbc:mysql://192.168.0.39:3306/glsx_car_service
spring.datasource.username=root
spring.datasource.password=123456
#spring.datasource.connectionProperties="config.decrypt=true;config.decrypt.key=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANj300lzSmW05DuzVoluFG6oza+WlEbv2aYCQA2+pkf0mE4p19UAcxfY/BweOyJ6TBNoY5XebPqoiav5lsKVD6sCAwEAAQ=="
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.filters=stat
spring.datasource.maxActive=20
spring.datasource.initialSize=5
spring.datasource.maxWait=60000
spring.datasource.minIdle=5
spring.datasource.timeBetweenEvictionRunsMillis=60000
spring.datasource.minEvictableIdleTimeMillis=300000
spring.datasource.validationQuery=select 'x'
spring.datasource.testWhileIdle=true
spring.datasource.testOnBorrow=false
spring.datasource.testOnReturn=false
spring.datasource.poolPreparedStatements=true
spring.datasource.maxOpenPreparedStatements=50
#mybatis\u96c6\u6210\u914d\u7f6e
mybatis.mapperLocations=classpath*:mapper/*.xml
mybatis.typeAliasesPackage=com.glsx.publicservice.pojo
#pagehelper
pagehelper.helperDialect=mysql
pagehelper.supportMethodsArguments=true
pagehelper.params=count=countSql
spring.jmx.enabled=false
# MULTIPART (MultipartProperties)
# Whether to enable support of multipart uploads.
spring.servlet.multipart.enabled=true
# Max file size. Values can use the suffixes "MB" or "KB" to indicate megabytes or kilobytes, respectively.
spring.servlet.multipart.max-file-size=20MB
# Max request size. Values can use the suffixes "MB" or "KB" to indicate megabytes or kilobytes, respectively.
spring.servlet.multipart.max-request-size=20MB
# REDIS (RedisProperties)
# Database index used by the connection factory.
spring.redis.database=0
# Redis server host.
spring.redis.host=192.168.0.39
# Maximum number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
spring.redis.lettuce.pool.max-active=32
# Maximum number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
spring.redis.lettuce.pool.max-idle=32
# Maximum amount of time a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely.
spring.redis.lettuce.pool.max-wait=-1ms
# Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
spring.redis.lettuce.pool.min-idle=0
# Shutdown timeout.
spring.redis.lettuce.shutdown-timeout=100ms
#Login password of the redis server.
spring.redis.password=hhxredis
# Redis server port.
spring.redis.port=6379
#Whether to enable SSL support.
spring.redis.ssl=false
# Connection timeout.
spring.redis.timeout=6000ms
#eurekaClient
eureka.client.enabled=true
eureka.client.serviceUrl.defaultZone=http://localhost:8761/eureka/
#\u5fc3\u8df3
#eureka.instance.lease-renewal-interval-in-seconds=5
##feign\u914d\u7f6e
feign.client.config.default.connectTimeout=30000
feign.client.config.default.readTimeout=30000
feign.client.config.default.loggerLevel=basic
#\u77ed\u4fe1
#sms.url=http://192.168.3.206:8118/router111
sms.url=http://qcdidicb.glsx.net:7060/router
sms.source=frms_sms_assign
##fastdfs
fdfs.soTimeout=1500
fdfs.connectTimeout=600
fdfs.thumbImage.width=150
fdfs.thumbImage.height=150
fdfs.trackerList=192.168.0.63:22122
#fdfs_tracker_nginx_port=80
fdfs_tracker_nginx_domain=http://192.168.0.63
#dubbo\u914d\u7f6e
dubbo.application.owner=common_merchant
dubbo.registry.address=zookeeper://192.168.1.36:2181
dubbo.application.name=biz-merchant-service-provider
##freemarker
spring.freemarker.cache=false
spring.freemarker.charset=UTF-8
spring.freemarker.check-template-location=true
spring.freemarker.content-type=text/html
spring.freemarker.enabled=true
spring.freemarker.suffix=.ftl
spring.freemarker.template-loader-path=classpath:/templates
#\u9759\u6001\u8d44\u6e90\u8def\u5f84
spring.mvc.static-path-pattern=/**
\ No newline at end of file
......@@ -9,7 +9,7 @@ spring.devtools.restart.enabled=true
##\u65e5\u5fd7 test
logging.level.com.glsx.usercenter=DEBUG
logging.path=/data/java_log/jetty/car-service-usercenter
logging.path=/data/java_log/jetty/carService/car-service-usercenter
logging.config=classpath:logback-spring.xml
......
spring.datasource.name=dev
spring.datasource.url=jdbc:mysql://192.168.0.39:3306/glsx_car_service
spring.datasource.username=root
spring.datasource.password=123456
#spring.datasource.connectionProperties="config.decrypt=true;config.decrypt.key=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANj300lzSmW05DuzVoluFG6oza+WlEbv2aYCQA2+pkf0mE4p19UAcxfY/BweOyJ6TBNoY5XebPqoiav5lsKVD6sCAwEAAQ=="
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.filters=stat
spring.datasource.maxActive=20
spring.datasource.initialSize=5
spring.datasource.maxWait=60000
spring.datasource.minIdle=5
spring.datasource.timeBetweenEvictionRunsMillis=60000
spring.datasource.minEvictableIdleTimeMillis=300000
spring.datasource.validationQuery=select 'x'
spring.datasource.testWhileIdle=true
spring.datasource.testOnBorrow=false
spring.datasource.testOnReturn=false
spring.datasource.poolPreparedStatements=true
spring.datasource.maxOpenPreparedStatements=50
#mybatis\u96c6\u6210\u914d\u7f6e
mybatis.mapperLocations=classpath*:mapper/*.xml
mybatis.typeAliasesPackage=com.glsx.usercenter.pojo
#pagehelper
pagehelper.helperDialect=mysql
pagehelper.supportMethodsArguments=true
pagehelper.params=count=countSql
spring.jmx.enabled=false
# MULTIPART (MultipartProperties)
# Whether to enable support of multipart uploads.
spring.servlet.multipart.enabled=true
# Max file size. Values can use the suffixes "MB" or "KB" to indicate megabytes or kilobytes, respectively.
spring.servlet.multipart.max-file-size=20MB
# Max request size. Values can use the suffixes "MB" or "KB" to indicate megabytes or kilobytes, respectively.
spring.servlet.multipart.max-request-size=20MB
# REDIS (RedisProperties)
# Database index used by the connection factory.
spring.redis.database=0
# Redis server host.
spring.redis.host=192.168.0.39
# Maximum number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
spring.redis.lettuce.pool.max-active=32
# Maximum number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
spring.redis.lettuce.pool.max-idle=32
# Maximum amount of time a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely.
spring.redis.lettuce.pool.max-wait=-1ms
# Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
spring.redis.lettuce.pool.min-idle=0
# Shutdown timeout.
spring.redis.lettuce.shutdown-timeout=100ms
#Login password of the redis server.
spring.redis.password=hhxredis
# Redis server port.
spring.redis.port=6379
#Whether to enable SSL support.
spring.redis.ssl=false
# Connection timeout.
spring.redis.timeout=6000ms
#\u77ed\u4fe1
#sms.url=http://192.168.3.206:8118/router111
#sms.url=http://qcdidicb.glsx.net:7060/router
sms.source=frms_sms_assign
##fastdfs
fdfs.soTimeout=1500
fdfs.connectTimeout=600
fdfs.thumbImage.width=150
fdfs.thumbImage.height=150
fdfs.trackerList=192.168.0.63:22122
#fdfs_tracker_nginx_port=80
fdfs_tracker_nginx_domain=http://192.168.0.63
#eurekaClient
eureka.client.enabled=true
eureka.client.serviceUrl.defaultZone=http://localhost:8761/eureka/
#\u5fc3\u8df3
#eureka.instance.lease-renewal-interval-in-seconds=5
##feign\u914d\u7f6e
feign.client.config.default.connectTimeout=30000
feign.client.config.default.readTimeout=30000
feign.client.config.default.loggerLevel=basic
#\u5931\u8d25\u91cd\u8bd5\u6b21\u6570
ribbon.MaxAutoRetries=0
ribbon.MaxAutoRetriesNextServer=3
ribbon.ReadTimeout=30000
-- 增加菜单
INSERT INTO sys_menu(id,name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(1,'监控台',0,1,'/dashboard' ,1,1,NOW(),1)
INSERT INTO sys_menu(id,name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(2,'订单管理',0,2,'/order' ,1,1,NOW(),1)
INSERT INTO sys_menu(id,name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(3,'技工管理',0,3, '/technician/technicianManage',1,1,NOW(),1)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(4,'商户管理',0,4,'/store' ,1,1,NOW(),1)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(5,'资源匹配管理',0,5,'/resource' ,1,1,NOW(),1)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(6,'系统管理',0,6,'/system' ,1,1,NOW(),1)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(7,'技工审核',3,1,'/technician/technicianVerify' ,2,1,NOW(),1)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(8,'服务商资源管理',5,1,'/resource/serviceManage' ,2,1,NOW(),1)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(9,'技工资源管理',5,2,'/resource/technicianManage' ,2,1,NOW(),1)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(10,'用户管理',6,1,'/system/userManage' ,2,1,NOW(),1)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(11,'角色管理',6,2,'/system/roleManage' ,2,1,NOW(),1)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(12,'菜单管理',6,3,'/system/menuManage' ,2,1,NOW(),1)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(13,'组织管理',6,4,'/system/orginizaManage' ,2,1,NOW(),1)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(14,'字典管理',6,5,'/system/dictionaryManage' ,2,1,NOW(),1)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(15,'操作日志',6,6,'/system/operationLog' ,2,1,NOW(),1)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(16,'新增订单',2,1,'add' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(17,'删除订单',2,2,'delete' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(18,'新增技工',3,1,'add' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(19,'删除技工',3,2,'delete' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(20,'编辑技工',3,3,'edit' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(21,'技工审核',7,1,'check' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(22,'商户新增',4,1,'add' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(23,'商户编辑',4,2,'edit' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(24,'商户删除',4,3,'delete' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(25,'绑定服务商',8,1,'boundService' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(26,'指定技工',9,1,'boundMechanic' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(27,'用户新增',10,1,'add' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(28,'用户修改',10,2,'edit' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(29,'用户删除',10,3,'delete' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(30,'密码重置',10,4,'reset' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(31,'角色新增',11,1,'add' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(32,'角色修改',11,2,'edit' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(33,'角色删除',11,3,'delete' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(34,'菜单新增',12,1,'add' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(35,'菜单修改',12,2,'edit' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(36,'菜单删除',12,3,'delete' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(37,'组织新增',13,1,'add' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(38,'组织修改',13,2,'edit' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(39,'组织删除',13,3,'delete' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(40,'新增根组织',13,4,'addRoot' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(41,'字典新增',14,1,'add' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(42,'字典修改',14,2,'edit' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(43,'字典删除',14,3,'delete' ,3,1,NOW(),0)
INSERT INTO sys_menu(name,parent_id,sort,request_add,menu_type,is_show,create_time,label )
VALUES(44,'操作日志删除',15,1,'add' ,3,1,NOW(),0)
-- 增加系统管理员
INSERT INTO sys_user (id,username,name,user_status,password,user_type)
VALUES(0,'admin','系统管理员','sys_user_status_normal','f421e1284acf8ee365475ba9720c97ac',0)
-- 增加系统管理员角色
INSERT INTO sys_role (id,name,permission_character,sort,role_status)
VALUES(0,'系统管理员','sys_admin',1,'sys_user_status_normal')
-- 增加默认商户角色
INSERT INTO sys_role (name,permission_character,sort,role_status)
VALUES('默认商户','sys_default_merchant',2,'sys_user_status_normal')
-- 增加默认技工角色
INSERT INTO sys_role (name,permission_character,sort,role_status)
VALUES('默认技工','sys_default_mechanic',3,'sys_user_status_normal')
-- 增加默认服务商
INSERT INTO sys_role (id,name,permission_character,sort,role_status)
VALUES('默认服务商','sys_default_service',4,'sys_user_status_normal')
-- 管理员角色匹配
INSERT INTO sys_user_role (user_id,role_id)
VALUES(0,0)
-- 添加管理员角色菜单权限
INSERT INTO sys_role_menu(role_id,menu_id)
SELECT 0 role_id,id menu_id from sys_menu
No preview for this file type
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!