application.properties 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #???????
  2. #server.port=8999
  3. #???????
  4. server.port=8118
  5. server.servlet.context-path=/api/lanyun
  6. server.tomcat.uri-encoding=UTF-8
  7. ## ������
  8. #spring.application.name=shennongshi-yd
  9. ## �������ã�dev��test��prod���������������Ի���������������
  10. #spring.profiles.active=dev
  11. # mysql���ݿ�����
  12. # ���ز������ݿ�
  13. #spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
  14. #spring.datasource.url=jdbc:mysql://localhost:3306/dingtalk?serverTimezone=GMT%2B8
  15. #spring.datasource.username=root
  16. #spring.datasource.password=123456
  17. # ��象�47.98.130.40���������������ݿ�
  18. spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
  19. spring.datasource.url=jdbc:mysql://47.110.74.198:3306/dingtalk?serverTimezone=GMT%2B8
  20. spring.datasource.username=root
  21. spring.datasource.password=cp-root@2022++
  22. #��ʱͬ��
  23. #������־����ǰΪĬ�ϵĿ���̨�����Ҳ������log4j
  24. #mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
  25. #����̨��ʾsql
  26. #spring.jpa.show-sql=true
  27. #���»��ߴ������ݱ�ṹ
  28. #spring.jpa.hibernate.ddl-auto=update
  29. #����json��ȫ��ʱ���ʽ
  30. spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
  31. spring.jackson.time-zone=GMT+8
  32. #����mapper xml�ļ���·��
  33. #mybatis-plus.mapper-locations=classpath:com/muzhi/lz/mapper/xml/*.xml
  34. #mybatis-plus.config-location=classpath:mybatis/mybatis-config.xml
  35. #���û���
  36. spring.thymeleaf.cache=false
  37. #spring.thymeleaf.mode= LEGACYHTML5
  38. #spring.resources.chain.strategy.content.enabled=true
  39. #spring.resources.chain.strategy.content.paths=/**
  40. #spring.thymeleaf.check-template = true
  41. #spring.thymeleaf.servlet.content-type=text/html
  42. #spring.thymeleaf.enabled = true
  43. #spring.thymeleaf.encoding = UTF-8
  44. #spring.thymeleaf.prefix = classpath:/static/
  45. #spring.thymeleaf.suffix = .html
  46. #���������ύ�ĸ�ʽ�����ڵĸ�ʽ������SpingMVC��ҳ���ύ��ֵ��Ҫת��Ϊָ�����ͣ�Ĭ�ϵ���yyyy/MM/dd
  47. #spring.mvc.date-format=yyyy-MM-dd
  48. spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,classpath:/templates/