-
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
122 changed files
with
7,135 additions
and
50 deletions.
There are no files selected for viewing
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
2 changes: 1 addition & 1 deletion
2
...c/common/constant/AuthServerConstant.java → ...g/common/constant/AuthServerConstant.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.constant; | ||
package com.zenofung.common.constant; | ||
|
||
/** | ||
* <p>Title: AuthServerConstant</p> | ||
|
2 changes: 1 addition & 1 deletion
2
...com/fpc/common/constant/CartConstant.java → ...enofung/common/constant/CartConstant.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.constant; | ||
package com.zenofung.common.constant; | ||
|
||
/** | ||
* <p>Title: CartConstant</p> | ||
|
2 changes: 1 addition & 1 deletion
2
.../fpc/common/constant/ProductConstant.java → ...fung/common/constant/ProductConstant.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.constant; | ||
package com.zenofung.common.constant; | ||
|
||
/** | ||
* <p>Title: ProductConstant</p> | ||
|
2 changes: 1 addition & 1 deletion
2
...com/fpc/common/constant/WareConstant.java → ...enofung/common/constant/WareConstant.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.constant; | ||
package com.zenofung.common.constant; | ||
|
||
public class WareConstant { | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...com/fpc/common/exception/BizCodeEnum.java → ...enofung/common/exception/BizCodeEnum.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.exception; | ||
package com.zenofung.common.exception; | ||
|
||
/** | ||
* <p>Title: BizCodeEnum</p> | ||
|
2 changes: 1 addition & 1 deletion
2
...om/fpc/common/exception/BizCodeEnume.java → ...nofung/common/exception/BizCodeEnume.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.exception; | ||
package com.zenofung.common.exception; | ||
|
||
|
||
import lombok.Getter; | ||
|
2 changes: 1 addition & 1 deletion
2
...c/common/exception/NotStockException.java → ...g/common/exception/NotStockException.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.exception; | ||
package com.zenofung.common.exception; | ||
|
||
/** | ||
* <p>Title: NotStockException</p> | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* 版权所有,侵权必究! | ||
*/ | ||
|
||
package com.fpc.common.exception; | ||
package com.zenofung.common.exception; | ||
|
||
/** | ||
* 自定义异常 | ||
|
2 changes: 1 addition & 1 deletion
2
...n/java/com/fpc/common/to/MemberPrice.java → ...a/com/zenofung/common/to/MemberPrice.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.to; | ||
package com.zenofung.common.to; | ||
|
||
import lombok.Data; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...ava/com/fpc/common/to/SkuReductionTO.java → ...om/zenofung/common/to/SkuReductionTO.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.to; | ||
package com.zenofung.common.to; | ||
|
||
import lombok.Data; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...in/java/com/fpc/common/to/SpuBoundTO.java → ...va/com/zenofung/common/to/SpuBoundTO.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.to; | ||
package com.zenofung.common.to; | ||
|
||
import lombok.Data; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...java/com/fpc/common/to/es/SkuEsModel.java → ...com/zenofung/common/to/es/SkuEsModel.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.to.es; | ||
package com.zenofung.common.to.es; | ||
|
||
import lombok.Data; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...a/com/fpc/common/to/es/SkuHasStockVo.java → .../zenofung/common/to/es/SkuHasStockVo.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.to.es; | ||
package com.zenofung.common.to.es; | ||
|
||
import lombok.Data; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...in/java/com/fpc/common/to/mq/OrderTo.java → ...va/com/zenofung/common/to/mq/OrderTo.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.to.mq; | ||
package com.zenofung.common.to.mq; | ||
|
||
import lombok.Data; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
.../com/fpc/common/to/mq/SecKillOrderTo.java → ...zenofung/common/to/mq/SecKillOrderTo.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
2 changes: 1 addition & 1 deletion
2
...a/com/fpc/common/to/mq/StockDetailTo.java → .../zenofung/common/to/mq/StockDetailTo.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.to.mq; | ||
package com.zenofung.common.to.mq; | ||
|
||
import lombok.Data; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...a/com/fpc/common/to/mq/StockLockedTo.java → .../zenofung/common/to/mq/StockLockedTo.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.to.mq; | ||
package com.zenofung.common.to.mq; | ||
|
||
import lombok.Data; | ||
|
||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* 版权所有,侵权必究! | ||
*/ | ||
|
||
package com.fpc.common.utils; | ||
package com.zenofung.common.utils; | ||
|
||
/** | ||
* 常量 | ||
|
2 changes: 1 addition & 1 deletion
2
.../java/com/fpc/common/utils/HttpUtils.java → .../com/zenofung/common/utils/HttpUtils.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
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
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
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
2 changes: 1 addition & 1 deletion
2
...ain/java/com/fpc/common/valid/AddGro.java → ...ava/com/zenofung/common/valid/AddGro.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.valid; | ||
package com.zenofung.common.valid; | ||
|
||
/** | ||
* @description: ________ | ||
|
2 changes: 1 addition & 1 deletion
2
.../java/com/fpc/common/valid/ListValue.java → .../com/zenofung/common/valid/ListValue.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
2 changes: 1 addition & 1 deletion
2
...n/valid/ListValueConstraintValidator.java → ...n/valid/ListValueConstraintValidator.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
2 changes: 1 addition & 1 deletion
2
.../java/com/fpc/common/valid/UpdateGro.java → .../com/zenofung/common/valid/UpdateGro.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.valid; | ||
package com.zenofung.common.valid; | ||
|
||
/** | ||
* @description: ________ | ||
|
2 changes: 1 addition & 1 deletion
2
...m/fpc/common/valid/UpdateStatusGroup.java → ...ofung/common/valid/UpdateStatusGroup.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.fpc.common.valid; | ||
package com.zenofung.common.valid; | ||
|
||
public interface UpdateStatusGroup { | ||
} |
2 changes: 1 addition & 1 deletion
2
...n/java/com/fpc/common/xss/HTMLFilter.java → ...a/com/zenofung/common/xss/HTMLFilter.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
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
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
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
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
89 changes: 89 additions & 0 deletions
89
wine/src/main/java/com/wine/game/wine/controller/ArticleController.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,89 @@ | ||
package com.wine.game.wine.controller; | ||
|
||
import java.util.Arrays; | ||
import java.util.Map; | ||
|
||
import org.springframework.beans.factory.annotation.Autowired; | ||
import org.springframework.web.bind.annotation.PathVariable; | ||
import org.springframework.web.bind.annotation.RequestBody; | ||
import org.springframework.web.bind.annotation.RequestMapping; | ||
import org.springframework.web.bind.annotation.RequestParam; | ||
import org.springframework.web.bind.annotation.RestController; | ||
|
||
import com.wine.game.wine.entity.ArticleEntity; | ||
import com.wine.game.wine.service.ArticleService; | ||
import com.zenofung.common.utils.PageUtils; | ||
import com.zenofung.common.utils.R; | ||
|
||
|
||
|
||
/** | ||
* | ||
* | ||
* @author zenofung | ||
* @email [email protected] | ||
* @date 2022-03-08 11:46:32 | ||
*/ | ||
@RestController | ||
@RequestMapping("wine/article") | ||
public class ArticleController { | ||
@Autowired | ||
private ArticleService articleService; | ||
|
||
/** | ||
* 列表 | ||
*/ | ||
@RequestMapping("/list") | ||
//@RequiresPermissions("wine:article:list") | ||
public R list(@RequestParam Map<String, Object> params){ | ||
PageUtils page = articleService.queryPage(params); | ||
|
||
return R.ok().put("page", page); | ||
} | ||
|
||
|
||
/** | ||
* 信息 | ||
*/ | ||
@RequestMapping("/info/{id}") | ||
//@RequiresPermissions("wine:article:info") | ||
public R info(@PathVariable("id") Integer id){ | ||
ArticleEntity article = articleService.getById(id); | ||
|
||
return R.ok().put("article", article); | ||
} | ||
|
||
/** | ||
* 保存 | ||
*/ | ||
@RequestMapping("/save") | ||
//@RequiresPermissions("wine:article:save") | ||
public R save(@RequestBody ArticleEntity article){ | ||
articleService.save(article); | ||
|
||
return R.ok(); | ||
} | ||
|
||
/** | ||
* 修改 | ||
*/ | ||
@RequestMapping("/update") | ||
//@RequiresPermissions("wine:article:update") | ||
public R update(@RequestBody ArticleEntity article){ | ||
articleService.updateById(article); | ||
|
||
return R.ok(); | ||
} | ||
|
||
/** | ||
* 删除 | ||
*/ | ||
@RequestMapping("/delete") | ||
//@RequiresPermissions("${moduleNamez}:article:delete") | ||
public R delete(@RequestBody Integer[] ids){ | ||
articleService.removeByIds(Arrays.asList(ids)); | ||
|
||
return R.ok(); | ||
} | ||
|
||
} |
Oops, something went wrong.