-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
103 additions
and
42 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
ecom-category/src/main/java/com/freeb/Service/CategoryService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.freeb.Service; | ||
|
||
import com.freeb.Entity.CategoryPage; | ||
import com.freeb.Entity.ProductPage; | ||
|
||
import java.util.List; | ||
|
||
public interface CategoryService { | ||
public ProductPage GetProductPage(Long prodId); | ||
|
||
public List<CategoryPage> GetCategoryPage(Long userId, String searchKey); | ||
|
||
|
||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 10 additions & 0 deletions
10
ecom-common/src/main/java/com/freeb/Entity/CategoryPage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.freeb.Entity; | ||
|
||
public class CategoryPage { | ||
Long prodId; | ||
String prodName; | ||
Integer prodSales; | ||
Byte[] prodImage; | ||
Long merchantId; | ||
Long merchantName; | ||
} |
11 changes: 11 additions & 0 deletions
11
ecom-common/src/main/java/com/freeb/Entity/CommentInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.freeb.Entity; | ||
|
||
import java.util.List; | ||
|
||
public class CommentInfo { | ||
Long userId; | ||
String userName; | ||
Long prodId; | ||
String commentDetails; | ||
List<String> commentImages; | ||
} |
14 changes: 14 additions & 0 deletions
14
ecom-common/src/main/java/com/freeb/Entity/ProductPage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.freeb.Entity; | ||
|
||
import java.util.List; | ||
|
||
public class ProductPage { | ||
Long prodId; | ||
String prodName; | ||
Integer prodSales; | ||
//TODO check图片用string可以吗 | ||
List<String> prodImages; | ||
Long merchantId; | ||
Long merchantName; | ||
List<CommentInfo> prodComments; | ||
} |
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.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+651 Bytes
ecom-common/target/classes/com/freeb/Utils/LockObjectPool$ObjectWithLock.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters