Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
2c4162dd
Commit
2c4162dd
authored
Nov 18, 2022
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
openapi 修改对接文档字段大小写导致获取不到值问题
emqx配置文件修改
parent
9ff13676
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
3 deletions
+51
-3
CylinderFillingCheckModel.java
...mos/api/openapi/face/model/CylinderFillingCheckModel.java
+22
-0
WebSecurityConfigurer.java
...n/java/com/yeejoin/amos/config/WebSecurityConfigurer.java
+25
-0
application-dev.properties
...ata-openapi/src/main/resources/application-dev.properties
+4
-3
No files found.
amos-boot-data/amos-boot-data-openapi/src/main/java/com/yeejoin/amos/api/openapi/face/model/CylinderFillingCheckModel.java
View file @
2c4162dd
...
@@ -25,4 +25,26 @@ public class CylinderFillingCheckModel extends AbstractBaseModel{
...
@@ -25,4 +25,26 @@ public class CylinderFillingCheckModel extends AbstractBaseModel{
private
String
inspectionDate
;
//检查时间*
private
String
inspectionDate
;
//检查时间*
private
String
checkResults
;
private
String
checkResults
;
private
String
nonconformances
;
private
String
nonconformances
;
/**
* 对接文档已发布字段,需要将此字段赋值给系统数据库中的字段:abnormalTemperature
*/
private
int
abnormaLTemperature
;
public
int
getAbnormaLTemperature
()
{
return
abnormalTemperature
;
}
public
void
setAbnormaLTemperature
(
int
abnormaLTemperature
)
{
this
.
abnormalTemperature
=
abnormaLTemperature
;
}
public
int
getAbnormalTemperature
()
{
return
abnormalTemperature
;
}
public
void
setAbnormalTemperature
(
int
abnormalTemperature
)
{
this
.
abnormalTemperature
=
abnormalTemperature
;
}
}
}
amos-boot-data/amos-boot-data-openapi/src/main/java/com/yeejoin/amos/config/WebSecurityConfigurer.java
0 → 100644
View file @
2c4162dd
package
com
.
yeejoin
.
amos
.
config
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.security.config.annotation.web.builders.HttpSecurity
;
import
org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
;
import
org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
;
@Configuration
@EnableWebSecurity
public
class
WebSecurityConfigurer
extends
WebSecurityConfigurerAdapter
{
@Override
protected
void
configure
(
HttpSecurity
http
)
throws
Exception
{
http
.
httpBasic
().
and
()
.
authorizeRequests
()
.
regexMatchers
(
"^(?!/actuator).*$"
).
permitAll
()
.
regexMatchers
(
"/actuator/health"
).
permitAll
()
.
regexMatchers
(
"/actuator/info"
).
permitAll
()
.
regexMatchers
(
"/actuator/metrics"
).
permitAll
()
.
antMatchers
(
"/actuator/metrics/**"
).
permitAll
()
.
anyRequest
()
.
authenticated
()
.
and
().
csrf
().
disable
();
}
}
amos-boot-data/amos-boot-data-openapi/src/main/resources/application-dev.properties
View file @
2c4162dd
...
@@ -41,9 +41,9 @@ eureka.instance.metadata-map.management.api-docs=http://localhost:${server.port}
...
@@ -41,9 +41,9 @@ eureka.instance.metadata-map.management.api-docs=http://localhost:${server.port}
##emqx
##emqx
emqx.clean-session
=
true
emqx.clean-session
=
true
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://
172.16.10.90
:1883
emqx.broker
=
tcp://
36.46.151.113
:1883
emqx.user-name
=
super
emqx.
client-
user-name
=
super
emqx.password
=
123456
emqx.
client-
password
=
123456
##biz custem properties
##biz custem properties
biz.lxyd.lift.url
=
http://39.106.181.149:8088/elevatorapi
biz.lxyd.lift.url
=
http://39.106.181.149:8088/elevatorapi
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment