From e11d7b703f16dcd7fa28f334e1fcb636f50480a5 Mon Sep 17 00:00:00 2001 From: JACKYMYPERSON <1627832236@qq.com> Date: Tue, 3 Mar 2026 13:57:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=94=AF=E4=BB=98=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=92=8C=E5=BA=93=E5=AD=98=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pay-service/pom.xml | 28 ++++++++++++++ .../src/main/java/cn/mayiming/App.java | 13 +++++++ .../src/test/java/cn/mayiming/AppTest.java | 38 +++++++++++++++++++ pom.xml | 2 + stock-service/pom.xml | 28 ++++++++++++++ .../src/main/java/cn/mayiming/App.java | 13 +++++++ .../src/test/java/cn/mayiming/AppTest.java | 38 +++++++++++++++++++ 7 files changed, 160 insertions(+) create mode 100644 pay-service/pom.xml create mode 100644 pay-service/src/main/java/cn/mayiming/App.java create mode 100644 pay-service/src/test/java/cn/mayiming/AppTest.java create mode 100644 stock-service/pom.xml create mode 100644 stock-service/src/main/java/cn/mayiming/App.java create mode 100644 stock-service/src/test/java/cn/mayiming/AppTest.java diff --git a/pay-service/pom.xml b/pay-service/pom.xml new file mode 100644 index 0000000..08b11f4 --- /dev/null +++ b/pay-service/pom.xml @@ -0,0 +1,28 @@ + + 4.0.0 + + cn.mayiming + javamemories-parent + 1.0-SNAPSHOT + + + pay-service + jar + + pay-service + http://maven.apache.org + + + UTF-8 + + + + + junit + junit + 3.8.1 + test + + + diff --git a/pay-service/src/main/java/cn/mayiming/App.java b/pay-service/src/main/java/cn/mayiming/App.java new file mode 100644 index 0000000..93abe3a --- /dev/null +++ b/pay-service/src/main/java/cn/mayiming/App.java @@ -0,0 +1,13 @@ +package cn.mayiming; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/pay-service/src/test/java/cn/mayiming/AppTest.java b/pay-service/src/test/java/cn/mayiming/AppTest.java new file mode 100644 index 0000000..2244532 --- /dev/null +++ b/pay-service/src/test/java/cn/mayiming/AppTest.java @@ -0,0 +1,38 @@ +package cn.mayiming; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} diff --git a/pom.xml b/pom.xml index 03195fd..56a6410 100644 --- a/pom.xml +++ b/pom.xml @@ -93,6 +93,8 @@ order-service javamemories-gateway request-test + pay-service + stock-service diff --git a/stock-service/pom.xml b/stock-service/pom.xml new file mode 100644 index 0000000..952e822 --- /dev/null +++ b/stock-service/pom.xml @@ -0,0 +1,28 @@ + + 4.0.0 + + cn.mayiming + javamemories-parent + 1.0-SNAPSHOT + + + stock-service + jar + + stock-service + http://maven.apache.org + + + UTF-8 + + + + + junit + junit + 3.8.1 + test + + + diff --git a/stock-service/src/main/java/cn/mayiming/App.java b/stock-service/src/main/java/cn/mayiming/App.java new file mode 100644 index 0000000..93abe3a --- /dev/null +++ b/stock-service/src/main/java/cn/mayiming/App.java @@ -0,0 +1,13 @@ +package cn.mayiming; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/stock-service/src/test/java/cn/mayiming/AppTest.java b/stock-service/src/test/java/cn/mayiming/AppTest.java new file mode 100644 index 0000000..2244532 --- /dev/null +++ b/stock-service/src/test/java/cn/mayiming/AppTest.java @@ -0,0 +1,38 @@ +package cn.mayiming; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +}