@@ -0,0 +1,10 @@ | |||
<component name="libraryTable"> | |||
<library name="resources"> | |||
<CLASSES /> | |||
<JAVADOC /> | |||
<NATIVE> | |||
<root url="file://$PROJECT_DIR$/src/main/resources" /> | |||
</NATIVE> | |||
<SOURCES /> | |||
</library> | |||
</component> |
@@ -1,6 +1,9 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<project version="4"> | |||
<component name="ExternalStorageConfigurationManager" enabled="true" /> | |||
<component name="JavaScriptSettings"> | |||
<option name="languageLevel" value="ES6" /> | |||
</component> | |||
<component name="MavenProjectsManager"> | |||
<option name="originalFiles"> | |||
<list> |
@@ -0,0 +1,6 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<project version="4"> | |||
<component name="VcsDirectoryMappings"> | |||
<mapping directory="$PROJECT_DIR$/.." vcs="Git" /> | |||
</component> | |||
</project> |
@@ -24,10 +24,8 @@ public class DemoController { | |||
double weight = 60.5; | |||
int height = 180; | |||
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; | |||
} | |||
} |
@@ -1,4 +1,4 @@ | |||
spring.application.name=elink-demo | |||
server.port=8001 | |||
server.port=8002 | |||
@@ -0,0 +1,4 @@ | |||
spring.application.name=elink-demo | |||
server.port=8002 | |||
@@ -0,0 +1,5 @@ | |||
spring.profiles.active=dev | |||
#allow upload size | |||
spring.http.multipart.maxFileSize = 20Mb | |||
spring.http.multipart.maxRequestSize=100Mb |