<component name="libraryTable"> | |||||
<library name="resources"> | |||||
<CLASSES /> | |||||
<JAVADOC /> | |||||
<NATIVE> | |||||
<root url="file://$PROJECT_DIR$/src/main/resources" /> | |||||
</NATIVE> | |||||
<SOURCES /> | |||||
</library> | |||||
</component> |
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||
<project version="4"> | <project version="4"> | ||||
<component name="ExternalStorageConfigurationManager" enabled="true" /> | <component name="ExternalStorageConfigurationManager" enabled="true" /> | ||||
<component name="JavaScriptSettings"> | |||||
<option name="languageLevel" value="ES6" /> | |||||
</component> | |||||
<component name="MavenProjectsManager"> | <component name="MavenProjectsManager"> | ||||
<option name="originalFiles"> | <option name="originalFiles"> | ||||
<list> | <list> |
<?xml version="1.0" encoding="UTF-8"?> | |||||
<project version="4"> | |||||
<component name="VcsDirectoryMappings"> | |||||
<mapping directory="$PROJECT_DIR$/.." vcs="Git" /> | |||||
</component> | |||||
</project> |
double weight = 60.5; | double weight = 60.5; | ||||
int height = 180; | int height = 180; | ||||
int adc = 500; | int adc = 500; | ||||
System.out.println("品网算法"); | |||||
System.out.println(JSON.toJSONString(BodyFatAlgorithmUtils.getBodyFatData(0,sex,age,weight,height,adc))); | |||||
System.out.println("沃莱算法"); | |||||
System.out.println(JSON.toJSONString(BodyFatAlgorithmUtils.getBodyFatData(1,sex,age,weight,height,adc))); | |||||
bodyFatData = BodyFatAlgorithmUtils.getBodyFatData(0,sex,age,weight,height,adc); | |||||
System.out.println(JSON.toJSONString(bodyFatData)); | |||||
return bodyFatData; | return bodyFatData; | ||||
} | } | ||||
} | } |
spring.application.name=elink-demo | spring.application.name=elink-demo | ||||
server.port=8001 | |||||
server.port=8002 | |||||
spring.application.name=elink-demo | |||||
server.port=8002 | |||||
spring.profiles.active=dev | |||||
#allow upload size | |||||
spring.http.multipart.maxFileSize = 20Mb | |||||
spring.http.multipart.maxRequestSize=100Mb |