Compare commits
2 Commits
yinshikang
...
rzx
Author | SHA1 | Date |
---|---|---|
|
44c58b60aa | |
|
6bb911883e |
|
@ -2,26 +2,27 @@
|
|||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<annotationProcessing>
|
||||
<profile default="true" name="Default" enabled="true" />
|
||||
<profile name="Maven default annotation processors profile" enabled="true">
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="boot-auth" />
|
||||
<module name="car-billing-common" />
|
||||
<module name="boot-mq" />
|
||||
<module name="rush-order-remote" />
|
||||
<module name="boot-common-seata" />
|
||||
<module name="boot-visual-monitor" />
|
||||
<module name="rush-order-server" />
|
||||
<module name="boot-file-common" />
|
||||
<module name="boot-file-remote" />
|
||||
<module name="boot-system-remote" />
|
||||
<module name="boot-job" />
|
||||
<module name="boot-sub" />
|
||||
<module name="boot-common-log" />
|
||||
<module name="boot-common-datascope" />
|
||||
<module name="boot-common-redis" />
|
||||
<module name="boot-common-security" />
|
||||
<module name="car-billing-remote" />
|
||||
<module name="rush-order-common" />
|
||||
<module name="boot-common-datasource" />
|
||||
<module name="car-billing-server" />
|
||||
<module name="boot-file-server" />
|
||||
<module name="boot-system-common" />
|
||||
<module name="boot-gen" />
|
||||
|
@ -32,15 +33,9 @@
|
|||
</profile>
|
||||
</annotationProcessing>
|
||||
<bytecodeTargetLevel>
|
||||
<module name="aaaa" target="1.8" />
|
||||
<module name="billing-rule" target="1.8" />
|
||||
<module name="billing-rule-common" target="1.8" />
|
||||
<module name="billing-rule-remote" target="1.8" />
|
||||
<module name="billing-rule-server" target="17" />
|
||||
<module name="boot" target="1.8" />
|
||||
<module name="boot-charging" target="1.8" />
|
||||
<module name="car-visual" target="1.8" />
|
||||
<module name="untitled" target="1.8" />
|
||||
<module name="boot-system (1)" target="1.8" />
|
||||
<module name="boot-system (2)" target="1.8" />
|
||||
<module name="car_server" target="1.8" />
|
||||
</bytecodeTargetLevel>
|
||||
</component>
|
||||
</project>
|
|
@ -1,18 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" defaultCharsetForPropertiesFiles="UTF-8">
|
||||
<file url="file://$PROJECT_DIR$/aaaa/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/aaaa/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-auth/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-auth/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-billing-rule/car-billing-common/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-billing-rule/car-billing-common/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-billing-rule/car-billing-remote/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-billing-rule/car-billing-remote/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-billing-rule/car-billing-server/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-billing-rule/car-billing-server/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-billing-rule/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-billing-rule/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-common/boot-common-core/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-common/boot-common-core/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-common/boot-common-datascope/src/main/java" charset="UTF-8" />
|
||||
|
@ -45,8 +35,6 @@
|
|||
<file url="file://$PROJECT_DIR$/boot-modules/boot-gen/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-modules/boot-job/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-modules/boot-job/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-modules/boot-sub/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-modules/boot-sub/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-modules/boot-system/boot-system-common/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-modules/boot-system/boot-system-common/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-modules/boot-system/boot-system-remote/src/main/java" charset="UTF-8" />
|
||||
|
@ -57,14 +45,22 @@
|
|||
<file url="file://$PROJECT_DIR$/boot-modules/boot-system/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-modules/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-modules/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-mq/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-mq/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-visual/boot-monitor/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-visual/boot-monitor/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-visual/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/boot-visual/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/rush-order/rush-order-common/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/rush-order/rush-order-common/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/rush-order/rush-order-remote/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/rush-order/rush-order-remote/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/rush-order/rush-order-server/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/rush-order/rush-order-server/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/rush-order/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/rush-order/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/untitled/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/untitled/src/main/resources" charset="UTF-8" />
|
||||
<file url="PROJECT" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
|
@ -9,60 +9,6 @@
|
|||
<inspection_tool class="AliLongLiteralsEndingWithLowercaseL" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AliMissingOverrideAnnotation" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AliWrapperTypeEquality" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAbstractClassShouldStartWithAbstractNaming" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAbstractMethodOrInterfaceMethodMustUseJavadoc" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidApacheBeanUtilsCopy" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidCallStaticSimpleDateFormat" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidCommentBehindStatement" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidComplexCondition" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidConcurrentCompetitionRandom" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidDoubleOrFloatEqualCompare" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidManuallyCreateThread" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidMissUseOfMathRandom" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidNegationOperator" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidNewDateGetTime" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidPatternCompileInMethod" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidReturnInFinally" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidStartWithDollarAndUnderLineNaming" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidUseTimer" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaBigDecimalAvoidDoubleConstructor" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaBooleanPropertyShouldNotStartWithIs" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaClassCastExceptionWithSubListToArrayList" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaClassCastExceptionWithToArray" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaClassMustHaveAuthor" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaClassNamingShouldBeCamel" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaCollectionInitShouldAssignCapacity" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaCommentsMustBeJavadocFormat" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaConcurrentExceptionWithModifyOriginSubList" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaConstantFieldShouldBeUpperCase" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaCountDownShouldInFinally" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaDontModifyInForeachCircle" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaEnumConstantsMustHaveComment" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaExceptionClassShouldEndWithException" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaIbatisMethodQueryForList" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaLockShouldWithTryFinally" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaLowerCamelCaseVariableNaming" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaMethodReturnWrapperType" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaMethodTooLong" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaPackageNaming" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaPojoMustOverrideToString" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaPojoMustUsePrimitiveField" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaPojoNoDefaultValue" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaRemoveCommentedCode" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaServiceOrDaoClassShouldEndWithImpl" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaSneakyThrowsWithoutExceptionType" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaStringConcat" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaSwitchExpression" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaSwitchStatement" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaTestClassShouldEndWithTestNaming" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaThreadLocalShouldRemove" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaThreadPoolCreation" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaThreadShouldSetName" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaTransactionMustHaveRollback" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaUndefineMagicConstant" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaUnsupportedExceptionWithModifyAsList" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaUseQuietReferenceNotation" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaUseRightCaseForDateFormat" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="MapOrSetKeyShouldOverrideHashCodeEquals" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
</profile>
|
||||
</component>
|
|
@ -4,15 +4,11 @@
|
|||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/boot-car-order/car-order-remote/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/boot-car-order/car-order-common/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/boot-car-order/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
<option name="ignoredFiles">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$/aaaa/pom.xml" />
|
||||
</set>
|
||||
</option>
|
||||
<option name="workspaceImportForciblyTurnedOn" value="true" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="17" project-jdk-type="JavaSDK" />
|
||||
</project>
|
|
@ -1,124 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Palette2">
|
||||
<group name="Swing">
|
||||
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
||||
</item>
|
||||
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.svg" removable="false" auto-create-binding="false" can-attach-label="true">
|
||||
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
||||
<initial-values>
|
||||
<property name="text" value="Button" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="RadioButton" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="CheckBox" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="Label" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
||||
<preferred-size width="-1" height="20" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
||||
</item>
|
||||
</group>
|
||||
</component>
|
||||
</project>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
|
@ -3,7 +3,7 @@
|
|||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>com.boot</groupId>
|
||||
<artifactId>car_server</artifactId>
|
||||
<artifactId>boot</artifactId>
|
||||
<version>3.6.3</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
|
|
@ -15,7 +15,6 @@ spring:
|
|||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
|
@ -24,5 +23,4 @@ spring:
|
|||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
|
||||
namespace: 123456789
|
||||
|
|
|
@ -15,7 +15,6 @@ spring:
|
|||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
|
@ -24,5 +23,4 @@ spring:
|
|||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
|
||||
namespace: 123456789
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-auth\src\main\java\com\boot\auth\service\SysRecordLogService.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-auth\src\main\java\com\boot\auth\form\LoginBody.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-auth\src\main\java\com\boot\auth\service\SysLoginService.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-auth\src\main\java\com\boot\auth\form\RegisterBody.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-auth\src\main\java\com\boot\auth\controller\TokenController.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-auth\src\main\java\com\boot\auth\service\SysPasswordService.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-auth\src\main\java\com\boot\auth\BootAuthApplication.java
|
||||
D:\java\online car-hailing\car_server\boot-auth\src\main\java\com\boot\auth\BootAuthApplication.java
|
||||
D:\java\online car-hailing\car_server\boot-auth\src\main\java\com\boot\auth\controller\TokenController.java
|
||||
D:\java\online car-hailing\car_server\boot-auth\src\main\java\com\boot\auth\service\SysLoginService.java
|
||||
D:\java\online car-hailing\car_server\boot-auth\src\main\java\com\boot\auth\form\RegisterBody.java
|
||||
D:\java\online car-hailing\car_server\boot-auth\src\main\java\com\boot\auth\form\LoginBody.java
|
||||
D:\java\online car-hailing\car_server\boot-auth\src\main\java\com\boot\auth\service\SysPasswordService.java
|
||||
D:\java\online car-hailing\car_server\boot-auth\src\main\java\com\boot\auth\service\SysRecordLogService.java
|
||||
|
|
|
@ -1,92 +0,0 @@
|
|||
package com.boot.billing.domain;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 报警订单表
|
||||
*/
|
||||
@Data
|
||||
public class AlarmOrder {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
private Integer id;
|
||||
/**
|
||||
* 用户姓名
|
||||
*/
|
||||
private String userName;
|
||||
/**
|
||||
* 手机号码
|
||||
*/
|
||||
private String phone;
|
||||
/**
|
||||
* 乘车人
|
||||
*/
|
||||
private String rider;
|
||||
/**
|
||||
* 乘车人手机号
|
||||
*/
|
||||
private String riderPhone;
|
||||
/**
|
||||
* 订单类型
|
||||
*/
|
||||
private String orderType;
|
||||
/**
|
||||
* 订单号
|
||||
*/
|
||||
private Integer orderNumber;
|
||||
/**
|
||||
* 紧急联系人电话
|
||||
*/
|
||||
private String emergencyContact;
|
||||
/**
|
||||
* 司机姓名;
|
||||
*/
|
||||
private String driversName;
|
||||
/**
|
||||
* 司机电话
|
||||
*/
|
||||
private String driversPhone;
|
||||
/**
|
||||
* 上报来源
|
||||
*/
|
||||
private String reportingSource;
|
||||
/**
|
||||
* 报警时间
|
||||
*/
|
||||
private Date alarmTime;
|
||||
/**
|
||||
* 等待时间(分钟)
|
||||
*/
|
||||
private Integer waitingTime;
|
||||
/**
|
||||
* 触发方式
|
||||
*/
|
||||
private String triggerMode;
|
||||
/**
|
||||
* 综合预警级别
|
||||
*/
|
||||
private String warningLevel;
|
||||
/**
|
||||
* 处理状态
|
||||
*/
|
||||
private String processingState;
|
||||
/**
|
||||
* 是否报警
|
||||
*/
|
||||
private String alarmOrNot;
|
||||
/**
|
||||
* 操作时间
|
||||
*/
|
||||
private Date operatingTime;
|
||||
/**
|
||||
* 操作人
|
||||
*/
|
||||
private String operator;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
package com.boot.billing.domain;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class AliPay {
|
||||
private String traceNo;
|
||||
private String totalAmount;
|
||||
private String subject;
|
||||
private String alipayTraceNo;
|
||||
}
|
||||
|
|
@ -1,91 +0,0 @@
|
|||
package com.boot.billing.domain;
|
||||
|
||||
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 计费规则表
|
||||
*/
|
||||
|
||||
@Data
|
||||
public class BillingRule {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
private Integer id;
|
||||
/**
|
||||
* 城市
|
||||
*/
|
||||
private Integer city;
|
||||
/**
|
||||
* 服务类型
|
||||
*/
|
||||
private Integer serviceType;
|
||||
/**
|
||||
* 渠道名称
|
||||
*/
|
||||
private Integer channelName;
|
||||
/**
|
||||
* 车辆级别
|
||||
*/
|
||||
private Integer vehicleClass;
|
||||
/**
|
||||
* 最低消费
|
||||
*/
|
||||
private Double minimumConsumption;
|
||||
/**
|
||||
* 基础价格
|
||||
*/
|
||||
private Double basePrice;
|
||||
/**
|
||||
* 包含公里数
|
||||
*/
|
||||
private Double mileageIncluded;
|
||||
/**
|
||||
* 包含时长数(分钟)
|
||||
*/
|
||||
private Integer inclusiveDuration;
|
||||
/**
|
||||
* 超公里单价
|
||||
*/
|
||||
private Double excessKilometerUnitPrice;
|
||||
/**
|
||||
* 超时间单价
|
||||
*/
|
||||
private Double overtimeUnitPrice;
|
||||
/**
|
||||
* 远途起算公里
|
||||
*/
|
||||
private Double initialKilometer;
|
||||
/**
|
||||
* 远途单价
|
||||
*/
|
||||
private Double longDistanceUnitPrice;
|
||||
/**
|
||||
* 夜间时间段-起始
|
||||
*/
|
||||
private Date nightTimePeriodBegin;
|
||||
/**
|
||||
* 夜间时间段-结束
|
||||
*/
|
||||
private Date nightTimePeriodEnd;
|
||||
/**
|
||||
* 夜间加收公里单价
|
||||
*/
|
||||
private Double additionalUnitPrice;
|
||||
/**
|
||||
* 夜间加收时间单价
|
||||
*/
|
||||
private Double unitPricePerKilometer;
|
||||
/**
|
||||
* 生效日期
|
||||
*/
|
||||
private Date effectiveTime;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
package com.boot.billing.domain;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 录音表(订单详情表)
|
||||
*/
|
||||
@Data
|
||||
public class CallRecord {
|
||||
//订单编号
|
||||
private long orderNumber;
|
||||
//录音地址
|
||||
private String recordingAddress;
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
package com.boot.billing.domain;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 渠道表
|
||||
*/
|
||||
@Data
|
||||
public class Channel {
|
||||
private Integer channelId;
|
||||
private String channelName;
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
package com.boot.billing.domain;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 收费信息(订单详情)
|
||||
*/
|
||||
@Data
|
||||
public class ChargeInformation {
|
||||
//订单号
|
||||
private Integer orderNumber;
|
||||
//起步费
|
||||
private Double initialCharge;
|
||||
//里程费
|
||||
private String mileageFee;
|
||||
//时长费
|
||||
private Double timeCharge;
|
||||
//最低消费补足
|
||||
private Double minimumConsumptionReplenishment;
|
||||
//远途费
|
||||
private Double longWayFare;
|
||||
//过路费
|
||||
private Double roadToll;
|
||||
//夜间服务费
|
||||
private Double nightServiceCharge;
|
||||
//停车费
|
||||
private Double parkingFee;
|
||||
//其他
|
||||
private Double other;
|
||||
//优惠券金额
|
||||
private Double couponAmount;
|
||||
//动态折扣
|
||||
private Double dynamicDiscount;
|
||||
//总计
|
||||
private Double total;
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
package com.boot.billing.domain;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* 城市列表
|
||||
*/
|
||||
@Data
|
||||
public class City {
|
||||
private Integer cityId;
|
||||
private String cityName;
|
||||
}
|
|
@ -1,44 +0,0 @@
|
|||
package com.boot.billing.domain;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 订单信息表(订单详情)
|
||||
*/
|
||||
@Data
|
||||
public class CustomerOrder {
|
||||
//主键
|
||||
private Integer id;
|
||||
//城市id
|
||||
private Integer cityId;
|
||||
//服务类型id
|
||||
private Integer serverTypeId;
|
||||
//车辆级别
|
||||
private Integer rankId;
|
||||
//订单状态
|
||||
private Integer status;
|
||||
//订单开始地址
|
||||
private String startAddress;
|
||||
//下车地点
|
||||
private String endAddress;
|
||||
//总距离
|
||||
private Double sumDistance;
|
||||
//总价
|
||||
private BigDecimal sumPrice;
|
||||
//下单来源
|
||||
private String orderPath;
|
||||
//支付类型
|
||||
private String paymentType;
|
||||
//是否包含套餐 0-否 1-是
|
||||
private Integer isMeal;
|
||||
//司机名称
|
||||
private String driverName;
|
||||
//司机电话
|
||||
private String driverPhone;
|
||||
//车牌号
|
||||
private String vehicleNumber;
|
||||
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
package com.boot.billing.domain;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 评价信息(订单详情)
|
||||
*/
|
||||
@Data
|
||||
public class EvaluationInformation {
|
||||
//订单编号
|
||||
private Integer orderNumber;
|
||||
//乘客对司机的评分
|
||||
private String driverRating;
|
||||
//乘客对司机的评价内容
|
||||
private String driverEvaluation;
|
||||
//乘客对大屏的评分
|
||||
private String screenRating;
|
||||
//乘客对大屏的评价内容
|
||||
private String screenEvaluation;
|
||||
//乘客对大屏的评分
|
||||
private String driverSelfRating;
|
||||
//司机的评价内容
|
||||
private String driverSelfEvaluation;
|
||||
|
||||
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
package com.boot.billing.domain;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 人员信息(订单详情)
|
||||
*/
|
||||
@Data
|
||||
public class PersonnelInformation {
|
||||
//订单号
|
||||
private Integer orderNumber;
|
||||
//订车人
|
||||
private String taxier;
|
||||
//订车人手机号
|
||||
private Integer carBookingManualNumber;
|
||||
//乘车人
|
||||
private String rider;
|
||||
//乘车人手机号
|
||||
private String riderPhone;
|
||||
//司机
|
||||
private String driver;
|
||||
//司机手机号
|
||||
private String driverPhone;
|
||||
//转接号码
|
||||
private Integer forwardingNumber;
|
||||
//车牌号
|
||||
private Integer licensePlateNumber;
|
||||
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
package com.boot.billing.domain.Response;
|
||||
|
||||
import com.boot.billing.domain.*;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class OrderDetailsDTO {
|
||||
private CustomerOrder customerOrder;
|
||||
private PersonnelInformation personnelInformation;
|
||||
private TimeInformation timeInformation;
|
||||
private ChargeInformation chargeInformation;
|
||||
private EvaluationInformation evaluationInformation;
|
||||
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
package com.boot.billing.domain;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 服务类型表
|
||||
*/
|
||||
@Data
|
||||
public class ServerType {
|
||||
private Integer serverTypeId;
|
||||
private String typeName;
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
package com.boot.billing.domain;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 时间信息表(订单详情)
|
||||
*/
|
||||
@Data
|
||||
public class TimeInformation {
|
||||
//订单号
|
||||
private Integer orderNumber;
|
||||
//下单时间
|
||||
private Date orderTime;
|
||||
//用车时间
|
||||
private Date useTime;
|
||||
//司机出发时间
|
||||
private Date driverDepartureTime;
|
||||
//司机到达时间
|
||||
private Date driverArrivalTime;
|
||||
//服务开始时间
|
||||
private Date serviceStartTime;
|
||||
//服务结束时间
|
||||
private Date endOfServiceTime;
|
||||
//支付完成时间
|
||||
private Date paymentCompletion;
|
||||
//取消时间
|
||||
private Date cancellationTime;
|
||||
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,27 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.boot</groupId>
|
||||
<artifactId>boot-billing-rule</artifactId>
|
||||
<version>3.6.3</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>car-billing-remote</artifactId>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.boot</groupId>
|
||||
<artifactId>car-billing-common</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -1,114 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.boot</groupId>
|
||||
<artifactId>boot-billing-rule</artifactId>
|
||||
<version>3.6.3</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>car-billing-server</artifactId>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.boot</groupId>
|
||||
<artifactId>car-billing-remote</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringCloud Alibaba Nacos -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringCloud Alibaba Nacos Config -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringCloud Alibaba Sentinel -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringBoot Actuator -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Swagger UI -->
|
||||
<dependency>
|
||||
<groupId>io.springfox</groupId>
|
||||
<artifactId>springfox-swagger-ui</artifactId>
|
||||
<version>${swagger.fox.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Mysql Connector -->
|
||||
<dependency>
|
||||
<groupId>com.mysql</groupId>
|
||||
<artifactId>mysql-connector-j</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- RuoYi Common DataSource -->
|
||||
<dependency>
|
||||
<groupId>com.boot</groupId>
|
||||
<artifactId>boot-common-datasource</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- RuoYi Common DataScope -->
|
||||
<dependency>
|
||||
<groupId>com.boot</groupId>
|
||||
<artifactId>boot-common-datascope</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- RuoYi Common Log -->
|
||||
<dependency>
|
||||
<groupId>com.boot</groupId>
|
||||
<artifactId>boot-common-log</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- RuoYi Common Swagger -->
|
||||
<dependency>
|
||||
<groupId>com.boot</groupId>
|
||||
<artifactId>boot-common-swagger</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>com.alipay.sdk</groupId>
|
||||
<artifactId>alipay-sdk-java</artifactId>
|
||||
<version>4.38.200.ALL</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.alipay.sdk</groupId>
|
||||
<artifactId>alipay-easysdk</artifactId>
|
||||
<version>2.2.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>cn.hutool</groupId>
|
||||
<artifactId>hutool-all</artifactId>
|
||||
<version>5.8.3</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-core</artifactId>
|
||||
<version>3.5.5</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -1,31 +0,0 @@
|
|||
package com.bawei.billing;
|
||||
|
||||
import com.boot.common.security.annotation.EnableRyFeignClients;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
||||
|
||||
/**
|
||||
* 认证授权中心
|
||||
*
|
||||
* @author boot
|
||||
*/
|
||||
@EnableRyFeignClients
|
||||
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
|
||||
public class BootBillingApplication
|
||||
{
|
||||
public static void main(String[] args)
|
||||
{
|
||||
SpringApplication.run(BootBillingApplication.class, args);
|
||||
System.out.println("(♥◠‿◠)ノ゙ 计费模块启动成功 ლ(´ڡ`ლ)゙ \n" +
|
||||
" .-------. ____ __ \n" +
|
||||
" | _ _ \\ \\ \\ / / \n" +
|
||||
" | ( ' ) | \\ _. / ' \n" +
|
||||
" |(_ o _) / _( )_ .' \n" +
|
||||
" | (_,_).' __ ___(_ o _)' \n" +
|
||||
" | |\\ \\ | || |(_,_)' \n" +
|
||||
" | | \\ `' /| `-' / \n" +
|
||||
" | | \\ / \\ / \n" +
|
||||
" ''-' `'-' `-..-' ");
|
||||
}
|
||||
}
|
|
@ -1,118 +0,0 @@
|
|||
package com.bawei.billing.controller;
|
||||
|
||||
import cn.hutool.json.JSONObject;
|
||||
import com.alipay.api.AlipayApiException;
|
||||
import com.alipay.api.AlipayClient;
|
||||
import com.alipay.api.DefaultAlipayClient;
|
||||
import com.alipay.api.internal.util.AlipaySignature;
|
||||
import com.alipay.api.request.AlipayTradePagePayRequest;
|
||||
import com.boot.billing.domain.AliPay;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
// xjlugv6874@sandbox.com
|
||||
// 9428521.24 - 30 = 9428491.24 + 30 = 9428521.24
|
||||
@RestController
|
||||
@RequestMapping("/alipay")
|
||||
public class AliPayController {
|
||||
|
||||
private static final String GATEWAY_URL = "https://openapi.alipaydev.com/gateway.do";
|
||||
private static final String FORMAT = "JSON";
|
||||
private static final String CHARSET = "UTF-8";
|
||||
//签名方式
|
||||
private static final String SIGN_TYPE = "RSA2";
|
||||
|
||||
@Resource
|
||||
private AlipayConfig aliPayConfig;
|
||||
|
||||
// @Resource
|
||||
// private OrdersMapper ordersMapper;
|
||||
|
||||
@GetMapping("/pay") // &subject=xxx&traceNo=xxx&totalAmount=xxx
|
||||
public void pay(AliPay aliPay, HttpServletResponse httpResponse) throws Exception {
|
||||
// 1. 创建Client,通用SDK提供的Client,负责调用支付宝的API
|
||||
AlipayClient alipayClient = new DefaultAlipayClient(GATEWAY_URL, aliPayConfig.getAppId(),
|
||||
aliPayConfig.getAppPrivateKey(), FORMAT, CHARSET, aliPayConfig.getAlipayPublicKey(), SIGN_TYPE);
|
||||
|
||||
// 2. 创建 Request并设置Request参数
|
||||
AlipayTradePagePayRequest request = new AlipayTradePagePayRequest(); // 发送请求的 Request类
|
||||
request.setNotifyUrl(aliPayConfig.getNotifyUrl());
|
||||
request.setReturnUrl(aliPayConfig.getReturnUrl());
|
||||
JSONObject bizContent = new JSONObject();
|
||||
bizContent.set("out_trade_no", aliPay.getTraceNo()); // 我们自己生成的订单编号
|
||||
bizContent.set("total_amount", aliPay.getTotalAmount()); // 订单的总金额
|
||||
bizContent.set("subject", aliPay.getSubject()); // 支付的名称
|
||||
bizContent.set("product_code", "FAST_INSTANT_TRADE_PAY"); // 固定配置
|
||||
request.setBizContent(bizContent.toString());
|
||||
|
||||
// 执行请求,拿到响应的结果,返回给浏览器
|
||||
String form = "";
|
||||
try {
|
||||
form = alipayClient.pageExecute(request).getBody(); // 调用SDK生成表单
|
||||
} catch (AlipayApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
httpResponse.setContentType("text/html;charset=" + CHARSET);
|
||||
httpResponse.getWriter().write(form);// 直接将完整的表单html输出到页面
|
||||
httpResponse.getWriter().flush();
|
||||
httpResponse.getWriter().close();
|
||||
}
|
||||
|
||||
@PostMapping("/notify") // 注意这里必须是POST接口
|
||||
public String payNotify(HttpServletRequest request) throws Exception {
|
||||
if (request.getParameter("trade_status").equals("TRADE_SUCCESS")) {
|
||||
System.out.println("=========支付宝异步回调========");
|
||||
|
||||
Map<String, String> params = new HashMap<>();
|
||||
Map<String, String[]> requestParams = request.getParameterMap();
|
||||
for (String name : requestParams.keySet()) {
|
||||
params.put(name, request.getParameter(name));
|
||||
// System.out.println(name + " = " + request.getParameter(name));
|
||||
}
|
||||
|
||||
String outTradeNo = params.get("out_trade_no");
|
||||
String gmtPayment = params.get("gmt_payment");
|
||||
String alipayTradeNo = params.get("trade_no");
|
||||
|
||||
String sign = params.get("sign");
|
||||
String content = AlipaySignature.getSignCheckContentV1(params);
|
||||
boolean checkSignature = AlipaySignature.rsa256CheckContent(content, sign, aliPayConfig.getAlipayPublicKey(), "UTF-8"); // 验证签名
|
||||
// 支付宝验签
|
||||
if (checkSignature) {
|
||||
// 验签通过
|
||||
System.out.println("交易名称: " + params.get("subject"));
|
||||
System.out.println("交易状态: " + params.get("trade_status"));
|
||||
System.out.println("支付宝交易凭证号: " + params.get("trade_no"));
|
||||
System.out.println("商户订单号: " + params.get("out_trade_no"));
|
||||
System.out.println("交易金额: " + params.get("total_amount"));
|
||||
System.out.println("买家在支付宝唯一id: " + params.get("buyer_id"));
|
||||
System.out.println("买家付款时间: " + params.get("gmt_payment"));
|
||||
System.out.println("买家付款金额: " + params.get("buyer_pay_amount"));
|
||||
|
||||
// // 查询订单
|
||||
// QueryWrapper<Orders> queryWrapper = new QueryWrapper<>();
|
||||
// queryWrapper.eq("order_id", outTradeNo);
|
||||
// Orders orders = ordersMapper.selectOne(queryWrapper);
|
||||
//
|
||||
// if (orders != null) {
|
||||
// orders.setAlipayNo(alipayTradeNo);
|
||||
// orders.setPayTime(new Date());
|
||||
// orders.setState("已支付");
|
||||
// ordersMapper.updateById(orders);
|
||||
// }
|
||||
}
|
||||
}
|
||||
return "success";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
package com.bawei.billing.controller;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* 支付宝Api
|
||||
*/
|
||||
@Data
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "alipay")
|
||||
public class AlipayConfig {
|
||||
private String appId;
|
||||
private String appPrivateKey;
|
||||
private String alipayPublicKey;
|
||||
private String notifyUrl;
|
||||
private String returnUrl;
|
||||
}
|
|
@ -1,128 +0,0 @@
|
|||
package com.bawei.billing.controller;
|
||||
|
||||
import com.bawei.billing.service.BillingService;
|
||||
import com.boot.billing.domain.*;
|
||||
import com.boot.billing.domain.Response.OrderDetailsDTO;
|
||||
import com.boot.common.core.domain.Result;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 计费规则
|
||||
*/
|
||||
@RestController
|
||||
public class BillingController {
|
||||
@Autowired
|
||||
BillingService billingService;
|
||||
|
||||
/**
|
||||
* 计费规则列表
|
||||
*/
|
||||
@PostMapping("/BillingList")
|
||||
public Result<List<BillingRule>> BillingList(){
|
||||
return Result.ok(billingService.BillingList());
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加计费规则
|
||||
*/
|
||||
@PostMapping("/addBilling")
|
||||
public Result addBilling(@RequestBody BillingRule billingRule){
|
||||
return Result.ok(billingService.addBilling(billingRule));
|
||||
}
|
||||
|
||||
/**
|
||||
* 城市列表
|
||||
*/
|
||||
@PostMapping("/cityList")
|
||||
public Result<List<City>> cityList(){
|
||||
List<City> cities = billingService.cityList();
|
||||
System.out.println(cities);
|
||||
return Result.ok(cities);
|
||||
}
|
||||
|
||||
/**
|
||||
* 服务类型表
|
||||
*/
|
||||
@PostMapping("/serverList")
|
||||
public Result<List<ServerType>> serverList(){
|
||||
return Result.ok(billingService.serverList());
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 渠道列表
|
||||
*/
|
||||
@PostMapping("/channelList")
|
||||
public Result<List<Channel>> channelList(){
|
||||
return Result.ok(billingService.channelList());
|
||||
}
|
||||
|
||||
/**
|
||||
* 报警订单表
|
||||
*/
|
||||
@PostMapping("/alarmOrder")
|
||||
public Result<List<AlarmOrder>> alarmOrder(){
|
||||
return Result.ok(billingService.alarmOrder());
|
||||
}
|
||||
|
||||
//订单详情页面
|
||||
//-------------------------------------------------------------
|
||||
/**
|
||||
* 根据订单id查询订单信息
|
||||
*/
|
||||
@PostMapping("/orderDetailsList/{orderNumber}")
|
||||
public Result<CustomerOrder> orderDetailsList(@PathVariable long orderNumber){
|
||||
return Result.ok(billingService.orderDetailsList(orderNumber));
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据订单id查询人员信息
|
||||
*/
|
||||
@PostMapping("/personnelList/{orderNumber}")
|
||||
public Result<PersonnelInformation> personnelList(@PathVariable long orderNumber){
|
||||
return Result.ok(billingService.personnelList(orderNumber));
|
||||
}
|
||||
|
||||
//根据订单号查询时间信息
|
||||
@PostMapping("/timeInformationList/{orderNumber}")
|
||||
public Result<TimeInformation> timeInformationList(@PathVariable long orderNumber){
|
||||
return Result.ok(billingService.timeInformationList(orderNumber));
|
||||
}
|
||||
|
||||
|
||||
//根据我点击的订单号 查询到此订单号的所有关联的数据(5张表)
|
||||
@PostMapping("/orderDetails/{orderNumber}")
|
||||
public Result orderDetails(@PathVariable long orderNumber){
|
||||
return Result.ok(billingService.orderDetails(orderNumber));
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据订单号查询收费信息
|
||||
*/
|
||||
@PostMapping("/chargeInformation/{orderNumber}")
|
||||
public Result<ChargeInformation> chargeInformation(@PathVariable long orderNumber){
|
||||
return Result.ok(billingService.chargeInformation(orderNumber));
|
||||
}
|
||||
|
||||
//查询评价信息数据
|
||||
@PostMapping("/FindEvaluationInformation/{orderNumber}")
|
||||
public Result<EvaluationInformation> FindEvaluationInformation(@PathVariable long orderNumber){
|
||||
return Result.ok(billingService.FindEvaluationInformation(orderNumber));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -1,34 +0,0 @@
|
|||
package com.bawei.billing.mapper;
|
||||
|
||||
|
||||
import com.boot.billing.domain.*;
|
||||
import com.boot.common.core.domain.Result;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Mapper
|
||||
public interface BillingMapper {
|
||||
|
||||
Result addBilling(BillingRule billingRule);
|
||||
|
||||
List<City> cityList();
|
||||
|
||||
List<ServerType> serverList();
|
||||
|
||||
List<Channel> channelList();
|
||||
|
||||
List<BillingRule> BillingList();
|
||||
|
||||
List<AlarmOrder> alarmOrder();
|
||||
|
||||
CustomerOrder orderDetailsList(long orderNumber);
|
||||
|
||||
PersonnelInformation personnelList(long orderNumber);
|
||||
|
||||
TimeInformation timeInformationList(long orderNumber);
|
||||
|
||||
ChargeInformation chargeInformation(long orderNumber);
|
||||
|
||||
EvaluationInformation FindEvaluationInformation(long orderNumber);
|
||||
}
|
|
@ -1,37 +0,0 @@
|
|||
package com.bawei.billing.service;
|
||||
|
||||
|
||||
import com.boot.billing.domain.*;
|
||||
import com.boot.billing.domain.Response.OrderDetailsDTO;
|
||||
import com.boot.common.core.domain.Result;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
public interface BillingService {
|
||||
Result addBilling(BillingRule billingRule);
|
||||
|
||||
List<City> cityList();
|
||||
|
||||
List<ServerType> serverList();
|
||||
|
||||
List<Channel> channelList();
|
||||
|
||||
List<BillingRule> BillingList();
|
||||
|
||||
List<AlarmOrder> alarmOrder();
|
||||
|
||||
CustomerOrder orderDetailsList(long orderNumber);
|
||||
|
||||
PersonnelInformation personnelList(long orderNumber);
|
||||
|
||||
|
||||
Object orderDetails(long orderNumber);
|
||||
|
||||
TimeInformation timeInformationList(long orderNumber);
|
||||
|
||||
ChargeInformation chargeInformation(long orderNumber);
|
||||
|
||||
EvaluationInformation FindEvaluationInformation(long orderNumber);
|
||||
}
|
|
@ -1,89 +0,0 @@
|
|||
package com.bawei.billing.service.impl;
|
||||
|
||||
import com.bawei.billing.mapper.BillingMapper;
|
||||
import com.bawei.billing.service.BillingService;
|
||||
import com.boot.billing.domain.*;
|
||||
import com.boot.billing.domain.Response.OrderDetailsDTO;
|
||||
import com.boot.common.core.domain.Result;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class BillingServiceImpl implements BillingService {
|
||||
@Autowired
|
||||
BillingMapper billingMapper;
|
||||
@Override
|
||||
public Result addBilling(BillingRule billingRule) {
|
||||
return billingMapper.addBilling(billingRule);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<City> cityList() {
|
||||
return billingMapper.cityList();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ServerType> serverList() {
|
||||
return billingMapper.serverList();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Channel> channelList() {
|
||||
return billingMapper.channelList();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<BillingRule> BillingList() {
|
||||
return billingMapper.BillingList();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AlarmOrder> alarmOrder() {
|
||||
return billingMapper.alarmOrder();
|
||||
}
|
||||
|
||||
@Override
|
||||
public CustomerOrder orderDetailsList(long orderNumber) {
|
||||
return billingMapper.orderDetailsList(orderNumber);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PersonnelInformation personnelList(long orderNumber) {
|
||||
return billingMapper.personnelList(orderNumber);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object orderDetails(long orderNumber) {
|
||||
OrderDetailsDTO orderDetailsDTO = new OrderDetailsDTO();
|
||||
//根据订单号查询用户订单的数据
|
||||
orderDetailsDTO.setCustomerOrder(billingMapper.orderDetailsList(orderNumber));
|
||||
//查询 订单人员信息 添加到对象
|
||||
orderDetailsDTO.setPersonnelInformation(billingMapper.personnelList(orderNumber));
|
||||
//查询 时间信息 添加到对象
|
||||
orderDetailsDTO.setTimeInformation(billingMapper.timeInformationList(orderNumber));
|
||||
//查询 收费信息
|
||||
orderDetailsDTO.setChargeInformation(billingMapper.chargeInformation(orderNumber));
|
||||
//查询评价信息
|
||||
orderDetailsDTO.setEvaluationInformation(billingMapper.FindEvaluationInformation(orderNumber));
|
||||
return orderDetailsDTO;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TimeInformation timeInformationList(long orderNumber) {
|
||||
return billingMapper.timeInformationList(orderNumber);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ChargeInformation chargeInformation(long orderNumber) {
|
||||
return billingMapper.chargeInformation(orderNumber);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EvaluationInformation FindEvaluationInformation(long orderNumber) {
|
||||
return billingMapper.FindEvaluationInformation(orderNumber);
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -1,43 +0,0 @@
|
|||
# Tomcat
|
||||
server:
|
||||
port: 9401
|
||||
|
||||
# 字段映射自动将'_'转大驼峰
|
||||
mybatis:
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
|
||||
# Spring
|
||||
spring:
|
||||
main:
|
||||
allow-circular-references: true
|
||||
jackson:
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
time-zone: GMT+8
|
||||
application:
|
||||
# 应用名称
|
||||
name: boot-rule
|
||||
profiles:
|
||||
# 环境配置
|
||||
active: dev
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
alipay:
|
||||
app-id: 9021000135603698
|
||||
appPrivateKey: MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC512J60LUofWXObkpHxzSs9KAOQ8qCgtK9D8mxv9wFGqJRxgehWR/MbSFZZRzAVRcn1vilIrzOs7HOAcDC/yXJFKrTJj8BNQhTv9kkfxbxDwVYgAQTOi1lX0tKBNeI0qGH+GcW49eXxN5NdE7UXWLL9nlnDFDBcYhyMBrkPUeSvVia8uoAYLuV9JEpiRVF1bY6/7ASfwsMcDCtpQ9UliwQpX2YmZEvUFiIs0qPUSvK3yQSTGfigohkHHe+wJVKLj0l2V9V8ub2Ay3bGaERhjj5BzMp6QDAYHpcWMIwX+3Nuu6Sw2K7L4gH7l/N4XYWq5+YBO61SB61GwrfQ8ckUbhfAgMBAAECggEAEVzhM45KTqUgnN/LCte+wSX9yjdlNTpZzBYshvHg8Y0iezdgQR/di7Dqe7qprAKHLk60XmFXeIxrYU7inpVOB3Jp315kZo144LI87F7/WrhHjJQxTUaTNTRpCVpYdM0REG4R256f5usaxevG7apn75xwjUMmTFx6HgkGiip7hGcJkGXOfN7DgTbhqcSmADJV80RcUnBg1XVGgJvXXXfxi1jy50tKSfKTtfm2KZ5I8hULNsl9ZmiKb89LE9Mnq9KXP40eKiY7c4l/YV1mFZwsyIiR/C2H2mhpuA6Kgw/nuv93gpS9l53P/ury2DIHe91rupaXLvpbHZna380/O7FhQQKBgQDlQp2IvxBthhUEm7Ux3EYeS1TY0Kc4RM5LB8ya/FvQMF+/QgsySNr3rI90jHdCPqRdDU6CIZ2tlqmfjlC+COzrrGNotsrcagPE3dxKrZDiaSU9aQiNBKmPSytXT1d7AVxXhziEbdMKQgSuoNs2+00arJCQpbgE6WpSceM094zGfwKBgQDPhFfvYR7JZrIQuo0H4HQI7Bm8rLiJ1DZoA9GusqYva5plu8Tdst8A7Pi5e7Q34jDFxbRYu+vNMyQJxTo4YSUYBay+65FVmszoWM/RxSeeXHvhkecun+ZomgJfJaq4VOlK/dGE8LHB2bDstOkpE+Ooamq4DZNGPbTMQmRVF/beIQKBgEzz9UjnSS5aKUfotANOesLEanB0aQy8G7qXnZgQSQkyk5DxLCzuw4ELDQQD+ivkNut9AfMwMWsI/VqvPG7tNAlPTfbiFGmztBwqlD0E0XMN9BAO523eOMP+aUffO+/v3v0KSHA7JPF2g3fSSoLEC3d+oO/MkF4lsyiFTcyDo18lAoGBAJsrfcmMmMXGmc2ygPRr3LgzO4d+q7q8STZ77JWyFlwNHPWHc0zHjMMXb2Da5EaJRykLjbBwTIEzBXac2M0BrwgIbkSQxyr4xtHSXwufXeGnjCZ+wBx4CoUa7D0TYFXXgF7H7px2kqS+T/Kf0F0b9zae5E/eLsruJzw5RObwNXOhAoGAAXqmsj1Z29KVU8HlwldY6eOuRg/WiKyZQoLhNvvRod8hU91CX5eG1a/HIjAdUQzNjV3rqv9p7DjJ37x1m2tfFtOzUQzviNSHzqer+iXbnd7s7106j6srRzoP7BQxFea30YWtNJytgNGv31euCb3fciAeDCaVrAN3LOi6T1M6kzE=
|
||||
alipayPublicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs/tbHWvnOItZAd1nnLAedCxDpN+oax0WHKSaf1GgmS/4tg3Oygng+V/Ca6Sbce+KkQHM0BsE2dLrIC7OWW4vcFqx0DhnyaAdSAYuVLPKr7cZWltJ+neozLW2xC6ra1nLjly4KYVWQq3ta736sux3RlW+gDls7rMmIAC/Zj1FOJWkO4pQdTuiFMR4KmA1f2DZEwSKJOpmW7ly0gGQlHxkYuVkZsZh0tu6toz6RYLzQdVhFPGI4gOpei2Nl4JaWkYK9TjGNb7NqNKUCbuDwBA33xJhAq52PkkEtcS1sQkhjarHkOXKq2SIc8hftjya79oEa2rXoBtWFrKSyFM2LFCT7QIDAQAB
|
||||
notifyUrl: http://vhzkca.natappfree.cc/alipay/notify
|
||||
returnUrl:
|
|
@ -1,105 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.bawei.billing.mapper.BillingMapper">
|
||||
|
||||
|
||||
<insert id="addBilling">
|
||||
insert into billing_rule values
|
||||
(0,
|
||||
#{city},
|
||||
#{serviceType},
|
||||
#{channelName},
|
||||
#{vehicleClass},
|
||||
#{minimumConsumption},
|
||||
#{basePrice},
|
||||
#{mileageIncluded},
|
||||
#{inclusiveDuration},
|
||||
#{excessKilometerUnitPrice},
|
||||
#{overtimeUnitPrice},
|
||||
#{initialKilometer},
|
||||
#{longDistanceUnitPrice},
|
||||
#{nightTimePeriodBegin},
|
||||
#{nightTimePeriodEnd},
|
||||
#{additionalUnitPrice},
|
||||
#{unitPricePerKilometer},
|
||||
#{effectiveTime}
|
||||
)
|
||||
</insert>
|
||||
|
||||
|
||||
|
||||
|
||||
<select id="serverList" resultType="com.boot.billing.domain.ServerType">
|
||||
select server_type_id,type_name from server_type
|
||||
</select>
|
||||
|
||||
|
||||
<select id="channelList" resultType="com.boot.billing.domain.Channel">
|
||||
select channel_id,channel_name from channel
|
||||
</select>
|
||||
|
||||
<select id="BillingList" resultType="com.boot.billing.domain.BillingRule">
|
||||
select *
|
||||
from billing_rule
|
||||
</select>
|
||||
|
||||
<select id="alarmOrder" resultType="com.boot.billing.domain.AlarmOrder">
|
||||
select *
|
||||
from alarm_order
|
||||
</select>
|
||||
|
||||
<!-- <resultMap id="orderDetailsList" type="com.boot.billing.domain.CustomerOrder">-->
|
||||
<!-- <result column="order_id" property="orderId"></result>-->
|
||||
<!-- <result column="user_id" property="userId"></result>-->
|
||||
<!-- <result column="phone" property="phone"></result>-->
|
||||
<!-- <result column="starting_position" property="startingPosition"></result>-->
|
||||
<!-- <result column="destination" property="destination"></result>-->
|
||||
<!-- <result column="journey" property="journey"></result>-->
|
||||
<!-- <result column="estimated_price" property="estimated"></result>-->
|
||||
<!-- <result column="is_meal" property="isMeal"></result>-->
|
||||
<!-- <result column="driver_id" property="driverId"></result>-->
|
||||
<!-- <result column="start_time" property="startTime"></result>-->
|
||||
<!-- <result column="order_status" property="orderStatus"></result>-->
|
||||
<!-- <result column="reach_time" property="reachTime"></result>-->
|
||||
<!-- <result column="actual_price" property="actualPrice"></result>-->
|
||||
<!-- <result column="pay_status" property="payStatus"></result>-->
|
||||
<!-- <result column="pay_id" property="payId"></result>-->
|
||||
<!-- <result column="create_time" property="creatTime"></result>-->
|
||||
<!-- <result column="city" property="city"></result>-->
|
||||
<!-- <result column="service_type" property="serviceType"></result>-->
|
||||
<!-- <result column="order_source" property="orderSource"></result>-->
|
||||
<!-- <result column="payment_type" property="paymentType"></result>-->
|
||||
<!-- <result column="note_information" property="noteInformation"></result>-->
|
||||
<!-- </resultMap>-->
|
||||
<select id="orderDetailsList" resultType="com.boot.billing.domain.CustomerOrder">
|
||||
select *
|
||||
from t_order where order_number = #{orderNumber}
|
||||
</select>
|
||||
|
||||
<!-- 获取所有人员信息 -->
|
||||
<select id="personnelList" resultType="com.boot.billing.domain.PersonnelInformation">
|
||||
select *
|
||||
from personnel_information where order_number = #{orderNumber}
|
||||
</select>
|
||||
|
||||
<select id="timeInformationList" resultType="com.boot.billing.domain.TimeInformation">
|
||||
select *
|
||||
from time_information where order_number = #{orderNumber}
|
||||
</select>
|
||||
|
||||
<select id="chargeInformation" resultType="com.boot.billing.domain.ChargeInformation">
|
||||
select *
|
||||
from charge_information where order_number = #{orderNumber}
|
||||
</select>
|
||||
<select id="cityList" resultType="com.boot.billing.domain.City">
|
||||
select city_id,city_name from city
|
||||
</select>
|
||||
<select id="FindEvaluationInformation" resultType="com.boot.billing.domain.EvaluationInformation">
|
||||
select *
|
||||
from service_evaluation where order_number = #{orderNumber}
|
||||
</select>
|
||||
</mapper>
|
|
@ -1,43 +0,0 @@
|
|||
# Tomcat
|
||||
server:
|
||||
port: 9401
|
||||
|
||||
# 字段映射自动将'_'转大驼峰
|
||||
mybatis:
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
|
||||
# Spring
|
||||
spring:
|
||||
main:
|
||||
allow-circular-references: true
|
||||
jackson:
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
time-zone: GMT+8
|
||||
application:
|
||||
# 应用名称
|
||||
name: boot-rule
|
||||
profiles:
|
||||
# 环境配置
|
||||
active: dev
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
alipay:
|
||||
app-id: 9021000135603698
|
||||
appPrivateKey: MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC512J60LUofWXObkpHxzSs9KAOQ8qCgtK9D8mxv9wFGqJRxgehWR/MbSFZZRzAVRcn1vilIrzOs7HOAcDC/yXJFKrTJj8BNQhTv9kkfxbxDwVYgAQTOi1lX0tKBNeI0qGH+GcW49eXxN5NdE7UXWLL9nlnDFDBcYhyMBrkPUeSvVia8uoAYLuV9JEpiRVF1bY6/7ASfwsMcDCtpQ9UliwQpX2YmZEvUFiIs0qPUSvK3yQSTGfigohkHHe+wJVKLj0l2V9V8ub2Ay3bGaERhjj5BzMp6QDAYHpcWMIwX+3Nuu6Sw2K7L4gH7l/N4XYWq5+YBO61SB61GwrfQ8ckUbhfAgMBAAECggEAEVzhM45KTqUgnN/LCte+wSX9yjdlNTpZzBYshvHg8Y0iezdgQR/di7Dqe7qprAKHLk60XmFXeIxrYU7inpVOB3Jp315kZo144LI87F7/WrhHjJQxTUaTNTRpCVpYdM0REG4R256f5usaxevG7apn75xwjUMmTFx6HgkGiip7hGcJkGXOfN7DgTbhqcSmADJV80RcUnBg1XVGgJvXXXfxi1jy50tKSfKTtfm2KZ5I8hULNsl9ZmiKb89LE9Mnq9KXP40eKiY7c4l/YV1mFZwsyIiR/C2H2mhpuA6Kgw/nuv93gpS9l53P/ury2DIHe91rupaXLvpbHZna380/O7FhQQKBgQDlQp2IvxBthhUEm7Ux3EYeS1TY0Kc4RM5LB8ya/FvQMF+/QgsySNr3rI90jHdCPqRdDU6CIZ2tlqmfjlC+COzrrGNotsrcagPE3dxKrZDiaSU9aQiNBKmPSytXT1d7AVxXhziEbdMKQgSuoNs2+00arJCQpbgE6WpSceM094zGfwKBgQDPhFfvYR7JZrIQuo0H4HQI7Bm8rLiJ1DZoA9GusqYva5plu8Tdst8A7Pi5e7Q34jDFxbRYu+vNMyQJxTo4YSUYBay+65FVmszoWM/RxSeeXHvhkecun+ZomgJfJaq4VOlK/dGE8LHB2bDstOkpE+Ooamq4DZNGPbTMQmRVF/beIQKBgEzz9UjnSS5aKUfotANOesLEanB0aQy8G7qXnZgQSQkyk5DxLCzuw4ELDQQD+ivkNut9AfMwMWsI/VqvPG7tNAlPTfbiFGmztBwqlD0E0XMN9BAO523eOMP+aUffO+/v3v0KSHA7JPF2g3fSSoLEC3d+oO/MkF4lsyiFTcyDo18lAoGBAJsrfcmMmMXGmc2ygPRr3LgzO4d+q7q8STZ77JWyFlwNHPWHc0zHjMMXb2Da5EaJRykLjbBwTIEzBXac2M0BrwgIbkSQxyr4xtHSXwufXeGnjCZ+wBx4CoUa7D0TYFXXgF7H7px2kqS+T/Kf0F0b9zae5E/eLsruJzw5RObwNXOhAoGAAXqmsj1Z29KVU8HlwldY6eOuRg/WiKyZQoLhNvvRod8hU91CX5eG1a/HIjAdUQzNjV3rqv9p7DjJ37x1m2tfFtOzUQzviNSHzqer+iXbnd7s7106j6srRzoP7BQxFea30YWtNJytgNGv31euCb3fciAeDCaVrAN3LOi6T1M6kzE=
|
||||
alipayPublicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs/tbHWvnOItZAd1nnLAedCxDpN+oax0WHKSaf1GgmS/4tg3Oygng+V/Ca6Sbce+KkQHM0BsE2dLrIC7OWW4vcFqx0DhnyaAdSAYuVLPKr7cZWltJ+neozLW2xC6ra1nLjly4KYVWQq3ta736sux3RlW+gDls7rMmIAC/Zj1FOJWkO4pQdTuiFMR4KmA1f2DZEwSKJOpmW7ly0gGQlHxkYuVkZsZh0tu6toz6RYLzQdVhFPGI4gOpei2Nl4JaWkYK9TjGNb7NqNKUCbuDwBA33xJhAq52PkkEtcS1sQkhjarHkOXKq2SIc8hftjya79oEa2rXoBtWFrKSyFM2LFCT7QIDAQAB
|
||||
notifyUrl: http://vhzkca.natappfree.cc/alipay/notify
|
||||
returnUrl:
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,105 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.bawei.billing.mapper.BillingMapper">
|
||||
|
||||
|
||||
<insert id="addBilling">
|
||||
insert into billing_rule values
|
||||
(0,
|
||||
#{city},
|
||||
#{serviceType},
|
||||
#{channelName},
|
||||
#{vehicleClass},
|
||||
#{minimumConsumption},
|
||||
#{basePrice},
|
||||
#{mileageIncluded},
|
||||
#{inclusiveDuration},
|
||||
#{excessKilometerUnitPrice},
|
||||
#{overtimeUnitPrice},
|
||||
#{initialKilometer},
|
||||
#{longDistanceUnitPrice},
|
||||
#{nightTimePeriodBegin},
|
||||
#{nightTimePeriodEnd},
|
||||
#{additionalUnitPrice},
|
||||
#{unitPricePerKilometer},
|
||||
#{effectiveTime}
|
||||
)
|
||||
</insert>
|
||||
|
||||
|
||||
|
||||
|
||||
<select id="serverList" resultType="com.boot.billing.domain.ServerType">
|
||||
select server_type_id,type_name from server_type
|
||||
</select>
|
||||
|
||||
|
||||
<select id="channelList" resultType="com.boot.billing.domain.Channel">
|
||||
select channel_id,channel_name from channel
|
||||
</select>
|
||||
|
||||
<select id="BillingList" resultType="com.boot.billing.domain.BillingRule">
|
||||
select *
|
||||
from billing_rule
|
||||
</select>
|
||||
|
||||
<select id="alarmOrder" resultType="com.boot.billing.domain.AlarmOrder">
|
||||
select *
|
||||
from alarm_order
|
||||
</select>
|
||||
|
||||
<!-- <resultMap id="orderDetailsList" type="com.boot.billing.domain.CustomerOrder">-->
|
||||
<!-- <result column="order_id" property="orderId"></result>-->
|
||||
<!-- <result column="user_id" property="userId"></result>-->
|
||||
<!-- <result column="phone" property="phone"></result>-->
|
||||
<!-- <result column="starting_position" property="startingPosition"></result>-->
|
||||
<!-- <result column="destination" property="destination"></result>-->
|
||||
<!-- <result column="journey" property="journey"></result>-->
|
||||
<!-- <result column="estimated_price" property="estimated"></result>-->
|
||||
<!-- <result column="is_meal" property="isMeal"></result>-->
|
||||
<!-- <result column="driver_id" property="driverId"></result>-->
|
||||
<!-- <result column="start_time" property="startTime"></result>-->
|
||||
<!-- <result column="order_status" property="orderStatus"></result>-->
|
||||
<!-- <result column="reach_time" property="reachTime"></result>-->
|
||||
<!-- <result column="actual_price" property="actualPrice"></result>-->
|
||||
<!-- <result column="pay_status" property="payStatus"></result>-->
|
||||
<!-- <result column="pay_id" property="payId"></result>-->
|
||||
<!-- <result column="create_time" property="creatTime"></result>-->
|
||||
<!-- <result column="city" property="city"></result>-->
|
||||
<!-- <result column="service_type" property="serviceType"></result>-->
|
||||
<!-- <result column="order_source" property="orderSource"></result>-->
|
||||
<!-- <result column="payment_type" property="paymentType"></result>-->
|
||||
<!-- <result column="note_information" property="noteInformation"></result>-->
|
||||
<!-- </resultMap>-->
|
||||
<select id="orderDetailsList" resultType="com.boot.billing.domain.CustomerOrder">
|
||||
select *
|
||||
from t_order where order_number = #{orderNumber}
|
||||
</select>
|
||||
|
||||
<!-- 获取所有人员信息 -->
|
||||
<select id="personnelList" resultType="com.boot.billing.domain.PersonnelInformation">
|
||||
select *
|
||||
from personnel_information where order_number = #{orderNumber}
|
||||
</select>
|
||||
|
||||
<select id="timeInformationList" resultType="com.boot.billing.domain.TimeInformation">
|
||||
select *
|
||||
from time_information where order_number = #{orderNumber}
|
||||
</select>
|
||||
|
||||
<select id="chargeInformation" resultType="com.boot.billing.domain.ChargeInformation">
|
||||
select *
|
||||
from charge_information where order_number = #{orderNumber}
|
||||
</select>
|
||||
<select id="cityList" resultType="com.boot.billing.domain.City">
|
||||
select city_id,city_name from city
|
||||
</select>
|
||||
<select id="FindEvaluationInformation" resultType="com.boot.billing.domain.EvaluationInformation">
|
||||
select *
|
||||
from service_evaluation where order_number = #{orderNumber}
|
||||
</select>
|
||||
</mapper>
|
|
@ -1,34 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.boot</groupId>
|
||||
<artifactId>car_server</artifactId>
|
||||
<version>3.6.3</version>
|
||||
</parent>
|
||||
|
||||
<description>
|
||||
计费规则
|
||||
</description>
|
||||
|
||||
<artifactId>boot-billing-rule</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<modules>
|
||||
<module>car-billing-common</module>
|
||||
<module>car-billing-remote</module>
|
||||
<module>car-billing-server</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</project>
|
|
@ -0,0 +1,80 @@
|
|||
com\boot\common\core\utils\JwtUtils.class
|
||||
com\boot\common\core\constant\ScheduleConstants.class
|
||||
com\boot\common\core\exception\file\FileSizeLimitExceededException.class
|
||||
com\boot\common\core\utils\DateUtils.class
|
||||
com\boot\common\core\xss\Xss.class
|
||||
com\boot\common\core\exception\file\FileNameLengthLimitExceededException.class
|
||||
com\boot\common\core\web\page\PageDomain.class
|
||||
com\boot\common\core\exception\user\UserPasswordNotMatchException.class
|
||||
com\boot\common\core\exception\ServiceException.class
|
||||
com\boot\common\core\utils\uuid\Seq.class
|
||||
com\boot\common\core\utils\file\FileUtils.class
|
||||
com\boot\common\core\utils\StringUtils.class
|
||||
com\boot\common\core\exception\file\InvalidExtensionException$InvalidFlashExtensionException.class
|
||||
com\boot\common\core\utils\file\ImageUtils.class
|
||||
com\boot\common\core\utils\reflect\ReflectUtils.class
|
||||
com\boot\common\core\exception\UtilException.class
|
||||
com\boot\common\core\web\domain\BaseEntity.class
|
||||
com\boot\common\core\exception\auth\NotRoleException.class
|
||||
com\boot\common\core\exception\file\InvalidExtensionException$InvalidVideoExtensionException.class
|
||||
com\boot\common\core\exception\job\TaskException$Code.class
|
||||
com\boot\common\core\utils\poi\ExcelUtil.class
|
||||
com\boot\common\core\exception\user\UserException.class
|
||||
com\boot\common\core\constant\GenConstants.class
|
||||
com\boot\common\core\web\controller\BaseController.class
|
||||
com\boot\common\core\constant\SecurityConstants.class
|
||||
com\boot\common\core\enums\UserStatus.class
|
||||
com\boot\common\core\utils\PageUtils.class
|
||||
com\boot\common\core\annotation\Excel.class
|
||||
com\boot\common\core\exception\file\FileUploadException.class
|
||||
com\boot\common\core\constant\CacheConstants.class
|
||||
com\boot\common\core\annotation\Excel$ColumnType.class
|
||||
com\boot\common\core\exception\CaptchaException.class
|
||||
com\boot\common\core\utils\sign\Base64.class
|
||||
com\boot\common\core\constant\TokenConstants.class
|
||||
com\boot\common\core\context\SecurityContextHolder.class
|
||||
com\boot\common\core\utils\sql\SqlUtil.class
|
||||
com\boot\common\core\exception\GlobalException.class
|
||||
com\boot\common\core\constant\ScheduleConstants$Status.class
|
||||
com\boot\common\core\exception\base\BaseException.class
|
||||
com\boot\common\core\utils\bean\BeanUtils.class
|
||||
com\boot\common\core\utils\bean\BeanValidators.class
|
||||
com\boot\common\core\text\CharsetKit.class
|
||||
com\boot\common\core\text\StrFormatter.class
|
||||
com\boot\common\core\utils\SpringUtils.class
|
||||
com\boot\common\core\exception\job\TaskException.class
|
||||
com\boot\common\core\web\page\TableSupport.class
|
||||
com\boot\common\core\exception\file\InvalidExtensionException$InvalidMediaExtensionException.class
|
||||
com\boot\common\core\constant\ServiceNameConstants.class
|
||||
com\boot\common\core\utils\file\FileTypeUtils.class
|
||||
com\boot\common\core\annotation\Excel$Type.class
|
||||
com\boot\common\core\exception\DemoModeException.class
|
||||
com\boot\common\core\annotation\Excels.class
|
||||
com\boot\common\core\web\page\TableDataInfo.class
|
||||
com\boot\common\core\web\domain\TreeEntity.class
|
||||
com\boot\common\core\utils\ExceptionUtil.class
|
||||
com\boot\common\core\web\controller\BaseController$1.class
|
||||
com\boot\common\core\utils\uuid\UUID$Holder.class
|
||||
com\boot\common\core\utils\poi\ExcelHandlerAdapter.class
|
||||
com\boot\common\core\domain\Result.class
|
||||
com\boot\common\core\exception\PreAuthorizeException.class
|
||||
com\boot\common\core\exception\CheckedException.class
|
||||
com\boot\common\core\exception\file\FileException.class
|
||||
com\boot\common\core\xss\XssValidator.class
|
||||
com\boot\common\core\exception\file\InvalidExtensionException$InvalidImageExtensionException.class
|
||||
com\boot\common\core\utils\uuid\IdUtils.class
|
||||
com\boot\common\core\exception\InnerAuthException.class
|
||||
com\boot\common\core\exception\file\InvalidExtensionException.class
|
||||
com\boot\common\core\constant\Constants.class
|
||||
com\boot\common\core\utils\ip\IpUtils.class
|
||||
com\boot\common\core\utils\ServletUtils.class
|
||||
com\boot\common\core\constant\HttpStatus.class
|
||||
com\boot\common\core\exception\auth\NotLoginException.class
|
||||
com\boot\common\core\text\Convert.class
|
||||
com\boot\common\core\utils\uuid\UUID.class
|
||||
com\boot\common\core\exception\auth\NotPermissionException.class
|
||||
com\boot\common\core\utils\html\HTMLFilter.class
|
||||
com\boot\common\core\constant\UserConstants.class
|
||||
com\boot\common\core\exception\user\CaptchaExpireException.class
|
||||
com\boot\common\core\utils\file\MimeTypeUtils.class
|
||||
com\boot\common\core\utils\html\EscapeUtil.class
|
|
@ -0,0 +1,70 @@
|
|||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\StringUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\uuid\UUID.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\auth\NotPermissionException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\bean\BeanValidators.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\sql\SqlUtil.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\job\TaskException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\annotation\Excels.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\UtilException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\text\Convert.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\web\controller\BaseController.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\ip\IpUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\file\InvalidExtensionException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\user\UserException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\CheckedException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\constant\ServiceNameConstants.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\CaptchaException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\file\MimeTypeUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\constant\SecurityConstants.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\constant\UserConstants.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\file\FileSizeLimitExceededException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\user\CaptchaExpireException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\PageUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\sign\Base64.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\DateUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\user\UserPasswordNotMatchException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\enums\UserStatus.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\PreAuthorizeException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\xss\XssValidator.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\SpringUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\bean\BeanUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\poi\ExcelUtil.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\file\FileException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\InnerAuthException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\poi\ExcelHandlerAdapter.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\ServiceException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\context\SecurityContextHolder.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\uuid\Seq.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\constant\TokenConstants.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\auth\NotRoleException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\web\domain\TreeEntity.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\domain\Result.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\xss\Xss.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\html\EscapeUtil.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\file\FileUploadException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\uuid\IdUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\web\domain\BaseEntity.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\file\ImageUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\html\HTMLFilter.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\web\page\TableDataInfo.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\constant\CacheConstants.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\GlobalException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\ExceptionUtil.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\annotation\Excel.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\constant\GenConstants.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\text\StrFormatter.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\constant\HttpStatus.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\file\FileTypeUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\DemoModeException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\ServletUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\text\CharsetKit.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\constant\ScheduleConstants.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\file\FileNameLengthLimitExceededException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\web\page\TableSupport.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\base\BaseException.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\JwtUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\file\FileUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\constant\Constants.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\utils\reflect\ReflectUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\web\page\PageDomain.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-core\src\main\java\com\boot\common\core\exception\auth\NotLoginException.java
|
|
@ -0,0 +1,2 @@
|
|||
com\boot\common\datascope\aspect\DataScopeAspect.class
|
||||
com\boot\common\datascope\annotation\DataScope.class
|
|
@ -0,0 +1,2 @@
|
|||
D:\java\online car-hailing\car_server\boot-common\boot-common-datascope\src\main\java\com\boot\common\datascope\aspect\DataScopeAspect.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-datascope\src\main\java\com\boot\common\datascope\annotation\DataScope.java
|
|
@ -0,0 +1,2 @@
|
|||
com\boot\common\datasource\annotation\Slave.class
|
||||
com\boot\common\datasource\annotation\Master.class
|
|
@ -0,0 +1,2 @@
|
|||
D:\java\online car-hailing\car_server\boot-common\boot-common-datasource\src\main\java\com\boot\common\datasource\annotation\Master.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-datasource\src\main\java\com\boot\common\datasource\annotation\Slave.java
|
|
@ -0,0 +1,7 @@
|
|||
com\boot\common\log\enums\BusinessStatus.class
|
||||
com\boot\common\log\enums\OperatorType.class
|
||||
com\boot\common\log\filter\PropertyPreExcludeFilter.class
|
||||
com\boot\common\log\aspect\LogAspect.class
|
||||
com\boot\common\log\service\AsyncLogService.class
|
||||
com\boot\common\log\annotation\Log.class
|
||||
com\boot\common\log\enums\BusinessType.class
|
|
@ -0,0 +1,7 @@
|
|||
D:\java\online car-hailing\car_server\boot-common\boot-common-log\src\main\java\com\boot\common\log\enums\OperatorType.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-log\src\main\java\com\boot\common\log\annotation\Log.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-log\src\main\java\com\boot\common\log\aspect\LogAspect.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-log\src\main\java\com\boot\common\log\enums\BusinessType.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-log\src\main\java\com\boot\common\log\filter\PropertyPreExcludeFilter.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-log\src\main\java\com\boot\common\log\enums\BusinessStatus.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-log\src\main\java\com\boot\common\log\service\AsyncLogService.java
|
|
@ -0,0 +1,3 @@
|
|||
com\boot\common\redis\service\RedisService.class
|
||||
com\boot\common\redis\configure\FastJson2JsonRedisSerializer.class
|
||||
com\boot\common\redis\configure\RedisConfig.class
|
|
@ -0,0 +1,3 @@
|
|||
D:\java\online car-hailing\car_server\boot-common\boot-common-redis\src\main\java\com\boot\common\redis\configure\FastJson2JsonRedisSerializer.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-redis\src\main\java\com\boot\common\redis\configure\RedisConfig.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-redis\src\main\java\com\boot\common\redis\service\RedisService.java
|
|
@ -0,0 +1,20 @@
|
|||
com\boot\common\security\auth\AuthLogic.class
|
||||
com\boot\common\security\annotation\RequiresRoles.class
|
||||
com\boot\common\security\feign\FeignRequestInterceptor.class
|
||||
com\boot\common\security\annotation\EnableCustomConfig.class
|
||||
com\boot\common\security\utils\DictUtils.class
|
||||
com\boot\common\security\annotation\RequiresLogin.class
|
||||
com\boot\common\security\config\ApplicationConfig.class
|
||||
com\boot\common\security\auth\AuthUtil.class
|
||||
com\boot\common\security\config\WebMvcConfig.class
|
||||
com\boot\common\security\feign\FeignAutoConfiguration.class
|
||||
com\boot\common\security\annotation\RequiresPermissions.class
|
||||
com\boot\common\security\service\TokenService.class
|
||||
com\boot\common\security\annotation\Logical.class
|
||||
com\boot\common\security\annotation\EnableRyFeignClients.class
|
||||
com\boot\common\security\interceptor\HeaderInterceptor.class
|
||||
com\boot\common\security\aspect\PreAuthorizeAspect.class
|
||||
com\boot\common\security\utils\SecurityUtils.class
|
||||
com\boot\common\security\annotation\InnerAuth.class
|
||||
com\boot\common\security\aspect\InnerAuthAspect.class
|
||||
com\boot\common\security\handler\GlobalExceptionHandler.class
|
|
@ -0,0 +1,20 @@
|
|||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\annotation\RequiresRoles.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\feign\FeignAutoConfiguration.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\config\ApplicationConfig.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\annotation\RequiresLogin.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\annotation\RequiresPermissions.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\interceptor\HeaderInterceptor.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\aspect\PreAuthorizeAspect.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\annotation\Logical.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\service\TokenService.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\utils\SecurityUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\auth\AuthUtil.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\config\WebMvcConfig.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\annotation\InnerAuth.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\annotation\EnableCustomConfig.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\auth\AuthLogic.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\utils\DictUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\feign\FeignRequestInterceptor.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\handler\GlobalExceptionHandler.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\aspect\InnerAuthAspect.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-security\src\main\java\com\boot\common\security\annotation\EnableRyFeignClients.java
|
|
@ -0,0 +1,8 @@
|
|||
com\boot\common\swagger\config\SwaggerProperties.class
|
||||
com\boot\common\swagger\config\SwaggerAutoConfiguration.class
|
||||
com\boot\common\swagger\config\SwaggerWebConfiguration.class
|
||||
com\boot\common\swagger\annotation\EnableCustomSwagger2.class
|
||||
com\boot\common\swagger\config\SwaggerProperties$AuthorizationScope.class
|
||||
com\boot\common\swagger\config\SwaggerProperties$Contact.class
|
||||
com\boot\common\swagger\config\SwaggerBeanPostProcessor.class
|
||||
com\boot\common\swagger\config\SwaggerProperties$Authorization.class
|
|
@ -0,0 +1,5 @@
|
|||
D:\java\online car-hailing\car_server\boot-common\boot-common-swagger\src\main\java\com\boot\common\swagger\annotation\EnableCustomSwagger2.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-swagger\src\main\java\com\boot\common\swagger\config\SwaggerWebConfiguration.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-swagger\src\main\java\com\boot\common\swagger\config\SwaggerAutoConfiguration.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-swagger\src\main\java\com\boot\common\swagger\config\SwaggerBeanPostProcessor.java
|
||||
D:\java\online car-hailing\car_server\boot-common\boot-common-swagger\src\main\java\com\boot\common\swagger\config\SwaggerProperties.java
|
|
@ -3,7 +3,7 @@
|
|||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>com.boot</groupId>
|
||||
<artifactId>car_server</artifactId>
|
||||
<artifactId>boot</artifactId>
|
||||
<version>3.6.3</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>com.boot</groupId>
|
||||
<artifactId>car_server</artifactId>
|
||||
<artifactId>boot</artifactId>
|
||||
<version>3.6.3</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
|
|
@ -15,7 +15,6 @@ spring:
|
|||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
|
@ -24,7 +23,7 @@ spring:
|
|||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
namespace: 123456789
|
||||
sentinel:
|
||||
# 取消控制台懒加载
|
||||
eager: true
|
||||
|
|
|
@ -15,7 +15,6 @@ spring:
|
|||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
|
@ -24,7 +23,7 @@ spring:
|
|||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
namespace: 123456789
|
||||
sentinel:
|
||||
# 取消控制台懒加载
|
||||
eager: true
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\handler\GatewayExceptionHandler.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\config\properties\CaptchaProperties.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\config\properties\XssProperties.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\filter\XssFilter.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\filter\BlackListUrlFilter.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\filter\CacheRequestFilter.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\handler\SentinelFallbackHandler.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\config\CaptchaConfig.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\config\GatewayConfig.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\config\KaptchaTextCreator.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\config\RouterFunctionConfiguration.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\config\SwaggerProvider.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\filter\ValidateCodeFilter.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\handler\SwaggerHandler.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\BootGatewayApplication.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\config\properties\IgnoreWhiteProperties.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\service\impl\ValidateCodeServiceImpl.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\filter\AuthFilter.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\service\ValidateCodeService.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-gateway\src\main\java\com\boot\gateway\handler\ValidateCodeHandler.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\handler\SentinelFallbackHandler.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\config\properties\IgnoreWhiteProperties.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\config\RouterFunctionConfiguration.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\filter\XssFilter.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\config\properties\CaptchaProperties.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\filter\ValidateCodeFilter.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\config\CaptchaConfig.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\filter\CacheRequestFilter.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\filter\AuthFilter.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\service\impl\ValidateCodeServiceImpl.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\service\ValidateCodeService.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\handler\ValidateCodeHandler.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\config\properties\XssProperties.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\filter\BlackListUrlFilter.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\handler\GatewayExceptionHandler.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\handler\SwaggerHandler.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\config\KaptchaTextCreator.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\config\SwaggerProvider.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\config\GatewayConfig.java
|
||||
D:\java\online car-hailing\car_server\boot-gateway\src\main\java\com\boot\gateway\BootGatewayApplication.java
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-file\boot-file-common\src\main\java\com\boot\file\common\utils\FileUploadUtils.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-file\boot-file-common\src\main\java\com\boot\file\common\domain\SysFile.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-file\boot-file-common\src\main\java\com\boot\file\common\utils\FileUploadUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-file\boot-file-common\src\main\java\com\boot\file\common\domain\SysFile.java
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-file\boot-file-remote\src\main\java\com\boot\file\remote\factory\RemoteFileFallbackFactory.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-file\boot-file-remote\src\main\java\com\boot\file\remote\RemoteFileService.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-file\boot-file-remote\src\main\java\com\boot\file\remote\factory\RemoteFileFallbackFactory.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-file\boot-file-remote\src\main\java\com\boot\file\remote\RemoteFileService.java
|
||||
|
|
|
@ -15,7 +15,6 @@ spring:
|
|||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
|
@ -24,5 +23,4 @@ spring:
|
|||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
|
||||
namespace: 123456789
|
||||
|
|
|
@ -15,7 +15,6 @@ spring:
|
|||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
|
@ -24,5 +23,4 @@ spring:
|
|||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
|
||||
namespace: 123456789
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-file\boot-file-server\src\main\java\com\boot\file\config\MinioConfig.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-file\boot-file-server\src\main\java\com\boot\file\controller\SysFileController.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-file\boot-file-server\src\main\java\com\boot\file\service\LocalSysFileServiceImpl.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-file\boot-file-server\src\main\java\com\boot\file\service\ISysFileService.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-file\boot-file-server\src\main\java\com\boot\file\service\MinioSysFileServiceImpl.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-file\boot-file-server\src\main\java\com\boot\file\BootFileApplication.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-file\boot-file-server\src\main\java\com\boot\file\service\FastDfsSysFileServiceImpl.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-file\boot-file-server\src\main\java\com\boot\file\config\ResourcesConfig.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-file\boot-file-server\src\main\java\com\boot\file\config\MinioConfig.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-file\boot-file-server\src\main\java\com\boot\file\controller\SysFileController.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-file\boot-file-server\src\main\java\com\boot\file\service\ISysFileService.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-file\boot-file-server\src\main\java\com\boot\file\service\FastDfsSysFileServiceImpl.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-file\boot-file-server\src\main\java\com\boot\file\service\MinioSysFileServiceImpl.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-file\boot-file-server\src\main\java\com\boot\file\config\ResourcesConfig.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-file\boot-file-server\src\main\java\com\boot\file\service\LocalSysFileServiceImpl.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-file\boot-file-server\src\main\java\com\boot\file\BootFileApplication.java
|
||||
|
|
|
@ -15,7 +15,6 @@ spring:
|
|||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
|
@ -24,5 +23,4 @@ spring:
|
|||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
|
||||
namespace: 123456789
|
||||
|
|
|
@ -15,7 +15,6 @@ spring:
|
|||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
|
@ -24,5 +23,4 @@ spring:
|
|||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
|
||||
namespace: 123456789
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\mapper\GenTableColumnMapper.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\service\GenTableServiceImpl.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\service\IGenTableColumnService.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\service\GenTableColumnServiceImpl.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\controller\GenController.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\config\GenConfig.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\domain\GenTable.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\util\VelocityInitializer.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\service\IGenTableService.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\BootGenApplication.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\domain\GenTableColumn.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\mapper\GenTableMapper.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\util\GenUtils.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\util\VelocityUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\service\GenTableColumnServiceImpl.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\util\VelocityInitializer.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\service\IGenTableService.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\BootGenApplication.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\mapper\GenTableColumnMapper.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\util\VelocityUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\controller\GenController.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\service\GenTableServiceImpl.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\service\IGenTableColumnService.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\domain\GenTableColumn.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\util\GenUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\config\GenConfig.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\domain\GenTable.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-gen\src\main\java\com\boot\gen\mapper\GenTableMapper.java
|
||||
|
|
|
@ -15,8 +15,7 @@ import com.boot.common.swagger.annotation.EnableCustomSwagger2;
|
|||
@EnableCustomSwagger2
|
||||
@EnableRyFeignClients
|
||||
@SpringBootApplication
|
||||
public class
|
||||
BootJobApplication
|
||||
public class BootJobApplication
|
||||
{
|
||||
public static void main(String[] args)
|
||||
{
|
||||
|
|
|
@ -15,7 +15,6 @@ spring:
|
|||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
|
@ -24,5 +23,4 @@ spring:
|
|||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
|
||||
namespace: 123456789
|
||||
|
|
|
@ -15,7 +15,6 @@ spring:
|
|||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 122.152.215.207:8848
|
||||
|
@ -24,5 +23,4 @@ spring:
|
|||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
namespace: 0d9cd901-32fb-43b4-a8a3-2485f72b2ad3
|
||||
|
||||
namespace: 123456789
|
||||
|
|
Binary file not shown.
|
@ -1,19 +1,19 @@
|
|||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\util\ScheduleUtils.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\mapper\SysJobLogMapper.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\task\RyTask.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\util\QuartzDisallowConcurrentExecution.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\util\QuartzJobExecution.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\BootJobApplication.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\config\ScheduleConfig.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\controller\SysJobController.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\util\AbstractQuartzJob.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\service\SysJobServiceImpl.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\mapper\SysJobMapper.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\service\ISysJobLogService.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\domain\SysJob.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\domain\SysJobLog.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\service\ISysJobService.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\util\JobInvokeUtil.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\util\CronUtils.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\controller\SysJobLogController.java
|
||||
D:\Java\IDEA\workspace\PracticalTraining-2\car_server\boot-modules\boot-job\src\main\java\com\boot\job\service\SysJobLogServiceImpl.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\mapper\SysJobLogMapper.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\controller\SysJobLogController.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\util\ScheduleUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\domain\SysJobLog.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\util\QuartzJobExecution.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\task\RyTask.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\domain\SysJob.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\config\ScheduleConfig.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\service\SysJobLogServiceImpl.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\service\ISysJobService.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\service\SysJobServiceImpl.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\BootJobApplication.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\util\CronUtils.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\util\JobInvokeUtil.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\util\QuartzDisallowConcurrentExecution.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\controller\SysJobController.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\mapper\SysJobMapper.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\util\AbstractQuartzJob.java
|
||||
D:\java\online car-hailing\car_server\boot-modules\boot-job\src\main\java\com\boot\job\service\ISysJobLogService.java
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.boot</groupId>
|
||||
<artifactId>boot-modules</artifactId>
|
||||
<version>3.6.3</version>
|
||||
</parent>
|
||||
|
||||
<groupId>com.bwie</groupId>
|
||||
<artifactId>boot-sub</artifactId>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
|
||||
|
||||
</project>
|
|
@ -1,44 +0,0 @@
|
|||
package com.bwie.sub;
|
||||
|
||||
|
||||
import java.util.concurrent.locks.Lock;
|
||||
import java.util.concurrent.locks.ReentrantLock;
|
||||
|
||||
public class LockExample {
|
||||
private int count = 0;
|
||||
//创建一个可重用锁对象
|
||||
private Lock lock = new ReentrantLock();
|
||||
|
||||
|
||||
public void increment() {
|
||||
//获取锁
|
||||
lock.lock();
|
||||
try {
|
||||
//增加count的值
|
||||
count++;
|
||||
//输出增加后的结果 以及该操作的线程的名称
|
||||
System.out.println("Incremented" + count + "by Thread:" + Thread.currentThread().getName());
|
||||
} catch (Exception e) {
|
||||
//释放锁
|
||||
lock.unlock();
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
//创建LockExample对象作为共享资源
|
||||
LockExample example = new LockExample();
|
||||
Runnable task = ()->{
|
||||
for (int i = 0; i < 5; i++) {
|
||||
//调用 increment 方法,对共享资源进行操作
|
||||
example.increment();
|
||||
}
|
||||
};
|
||||
//创建两个线程 并对共享资源进行操作
|
||||
Thread thread1 = new Thread(task,"thread1");
|
||||
Thread thread2 = new Thread(task,"thread2");
|
||||
|
||||
//启动两个线程
|
||||
thread1.start();
|
||||
thread2.start();
|
||||
}
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
package com.bwie.sub;
|
||||
|
||||
|
||||
public class MyRunnable implements Runnable{
|
||||
public void run(){
|
||||
for (int i = 0; i < 5; i++) {
|
||||
System.out.println("线程"+Thread.currentThread().getId()+"正在运行,i="+i);
|
||||
}
|
||||
try {
|
||||
Thread.sleep(1000);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
package com.bwie.sub;
|
||||
|
||||
public class ThreadDemo {
|
||||
public static void main(String[] args) {
|
||||
//创建两个线程并启动
|
||||
Thread thread = new Thread(new MyRunnable());
|
||||
Thread thread2 = new Thread(new MyRunnable());
|
||||
thread.start();
|
||||
thread2.start();
|
||||
|
||||
}
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
package com.bwie.sub.controller;
|
||||
|
||||
public class student {
|
||||
//id
|
||||
private Integer id;
|
||||
//姓名
|
||||
private String name;
|
||||
//爱好
|
||||
private String hobby;
|
||||
//年龄
|
||||
private Integer age;
|
||||
//性别
|
||||
private Integer sex;
|
||||
//班级
|
||||
private Integer clazz;
|
||||
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
package com.bwie.sub;
|
||||
|
||||
|
||||
public class sub {
|
||||
//id
|
||||
private Integer id;
|
||||
//姓名
|
||||
private String name;
|
||||
//电话
|
||||
private String phone;
|
||||
//会员
|
||||
private String isVip;
|
||||
//年龄
|
||||
private Integer age;
|
||||
//性别
|
||||
private Integer sex;
|
||||
//验证码
|
||||
private Integer code;
|
||||
//用户名
|
||||
private String userName;
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue