Commit 2c4162dd authored by tianbo's avatar tianbo

openapi 修改对接文档字段大小写导致获取不到值问题

emqx配置文件修改
parent 9ff13676
...@@ -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;
}
} }
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();
}
}
...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment