Skip to content

Commit

Permalink
适配优化的api地址
Browse files Browse the repository at this point in the history
  • Loading branch information
LeiGaoRobot committed Feb 12, 2022
1 parent 5c78711 commit 1f1b534
Show file tree
Hide file tree
Showing 23 changed files with 37 additions and 53 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
@RestController
@Api(tags = "买家端,直播间接口")
@RequestMapping("/buyer/other/broadcast/studio")
@RequestMapping("/buyer/broadcast/studio")
public class StudioController {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
@RestController
@Api(tags = "买家端,会员接口")
@RequestMapping("/buyer/passport/members")
@RequestMapping("/buyer/passport/member")
public class MemberBuyerController {

@Autowired
Expand Down
20 changes: 10 additions & 10 deletions buyer-api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,21 +128,21 @@ ignored:
- /MP_verify_qSyvBPhDsPdxvOhC.txt
- /weixin/**
- /source/**
- /buyer/mini-program/**
- /buyer/cashier/**
- /buyer/pageData/**
- /buyer/article/**
- /buyer/payment/cashier/**
- /buyer/other/pageData/**
- /buyer/other/article/**
- /buyer/goods/**
- /buyer/category/**
- /buyer/store/**
- /buyer/connect/**
- /buyer/passport/connect/**
- /buyer/members/**
- /buyer/passport/member/**
- /buyer/promotion/pintuan/**
- /buyer/promotion/seckill/**
- /buyer/promotion/pointsGoods/**
- /buyer/memberEvaluation/**/goodsEvaluation
- /buyer/memberEvaluation/**/evaluationNumber
- /buyer/appVersion/**
- /buyer/promotion/coupon
- /buyer/member/evaluation/**/goodsEvaluation
- /buyer/member/evaluation/**/evaluationNumber
- /buyer/other/appVersion/**
- /buyer/broadcast/studio/**
- /druid/**
- /swagger-ui.html
Expand Down Expand Up @@ -183,7 +183,7 @@ logging:
config: classpath:logback-spring.xml
# 输出级别
level:
root: error
root: info
# org.springframework: debug
file:
# 指定路径
Expand Down
22 changes: 3 additions & 19 deletions common-api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,24 +119,8 @@ ignored:
- /MP_verify_qSyvBPhDsPdxvOhC.txt
- /weixin/**
- /source/**
- /buyer/mini-program/**
- /buyer/cashier/**
- /buyer/pageData/**
- /buyer/article/**
- /buyer/goods/**
- /buyer/category/**
- /buyer/shop/**
- /buyer/connect/**
- /buyer/members/smsLogin
- /buyer/members/refresh/*
- /buyer/members/refresh**
- /buyer/promotion/pintuan
- /buyer/promotion/seckill
- /buyer/memberEvaluation/**/goodsEvaluation
- /buyer/memberEvaluation/**/evaluationNumber
- /store/login/**
- /manager/user/login
- /manager/user/refresh/**
- /common/common/slider/**
- /common/common/sms/**
- /druid/**
- /swagger-ui.html
- /doc.html
Expand Down Expand Up @@ -176,7 +160,7 @@ logging:
config: classpath:logback-spring.xml
# 输出级别
level:
root: error
root: info
# org.hibernate: debug
# org.springframework: debug
file:
Expand Down
2 changes: 1 addition & 1 deletion consumer/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ logging:
config: classpath:logback-spring.xml
# 输出级别
level:
root: error
root: info
# org.hibernate: debug
# org.springframework: debug
file:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public class GoodsSkuServiceImpl extends ServiceImpl<GoodsSkuMapper, GoodsSku> i
private ApplicationEventPublisher applicationEventPublisher;

@Override
@Transactional(rollbackFor = Exception.class)
public void add(List<Map<String, Object>> skuList, Goods goods) {
// 检查是否需要生成索引
List<GoodsSku> newSkuList;
Expand Down Expand Up @@ -319,6 +320,7 @@ public Map<String, Object> getGoodsSkuDetail(String goodsId, String skuId) {
* @param goods 商品信息(Id,MarketEnable/AuthFlag)
*/
@Override
@Transactional(rollbackFor = Exception.class)
public void updateGoodsSkuStatus(Goods goods) {
LambdaUpdateWrapper<GoodsSku> updateWrapper = new LambdaUpdateWrapper<>();
updateWrapper.eq(GoodsSku::getGoodsId, goods.getId());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
@RestController
@Api(tags = "管理端,系统设置扩展接口")
@RequestMapping("/manager/hotwords")
@RequestMapping("/manager/hotwords/hotwords")
public class HotWordsManagerController {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
@RestController
@Api(tags = "管理端,会员消息消息管理接口")
@RequestMapping("/manager/message/member")
@RequestMapping("/manager/other/memberMessage")
public class MemberMessageManagerController {
@Autowired
private MemberMessageService memberMessageService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
@RestController
@Api(tags = "店铺端,直播商品接口")
@RequestMapping("/manager/other/broadcast/commodity")
@RequestMapping("/manager/broadcast/commodity")
public class CommodityManagerController {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*/
@RestController
@Api(tags = "管理端,直播间接口")
@RequestMapping("/manager/other/broadcast/studio")
@RequestMapping("/manager/broadcast/studio")
public class StudioManagerController {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import io.swagger.annotations.ApiParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

Expand All @@ -46,7 +45,6 @@
@RestController
@Api(tags = "管理员")
@RequestMapping("/manager/passport/user")
@Transactional(rollbackFor = Exception.class)
@Validated
public class AdminUserManagerController {
@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*/
@RestController
@Api(tags = "管理端,商家结算单接口")
@RequestMapping("/manager/store/bill")
@RequestMapping("/manager/order/bill")
public class BillManagerController {
@Autowired
private BillService billService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
@RestController
@Api(tags = "管理端,店铺消息消息管理接口")
@RequestMapping("/manager/message/store")
@RequestMapping("/manager/other/storeMessage")
public class StoreMessageManagerController {

@Autowired
Expand Down
8 changes: 4 additions & 4 deletions manager-api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ ignored:
- /MP_verify_qSyvBPhDsPdxvOhC.txt
- /weixin/**
- /source/**
- /manager/user/login
- /manager/user/refresh/**
- /manager/elasticsearch
- /manager/custom-words
- /manager/passport/user/login
- /manager/passport/user/refresh/**
- /manager/other/elasticsearch
- /manager/other/customWords
- /druid/**
- /swagger-ui.html
- /doc.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/
@RestController
@Api(tags = "店铺端,分类绑定参数组管理接口")
@RequestMapping("/store/goods/category/parameters")
@RequestMapping("/store/goods/categoryParameters")
public class CategoryParameterGroupStoreController {


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/
@RestController
@Api(tags = "店铺端,商品分类规格接口")
@RequestMapping("/store/goods/category/spec")
@RequestMapping("/store/goods/categorySpec")
public class CategorySpecificationStoreController {
@Autowired
private CategorySpecificationService categorySpecificationService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
@RestController
@Api(tags = "店铺端,商品计量单位接口")
@RequestMapping("/store/goods/unit")
@RequestMapping("/store/goods/goodsUnit")
public class GoodsUnitStoreController {
@Autowired
private GoodsUnitService goodsUnitService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
*/
@RestController
@Api(tags = "店铺端,结算单接口")
@RequestMapping("/store/member/bill")
@RequestMapping("/store/order/bill")
public class BillStoreController {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/
@RestController
@Api(tags = "店铺端,直播商品接口")
@RequestMapping("/store/other/broadcast/commodity")
@RequestMapping("/store/broadcast/commodity")
public class CommodityStoreController {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*/
@RestController
@Api(tags = "店铺端,直播间接口")
@RequestMapping("/store/other/broadcast/studio")
@RequestMapping("/store/broadcast/studio")
public class StudioStoreController {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
**/
@RestController
@Api(tags = "店铺端,运费模板接口")
@RequestMapping("/store/settings/freightTemplate")
@RequestMapping("/store/setting/freightTemplate")
public class FreightTemplateStoreController {
@Autowired
private FreightTemplateService freightTemplateService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/
@RestController
@Api(tags = "店铺端,商家地址(自提点)接口")
@RequestMapping("/store/settings/storeAddress")
@RequestMapping("/store/member/storeAddress")
public class StoreAddressController {

/**
Expand Down
2 changes: 1 addition & 1 deletion seller-api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ ignored:
- /MP_verify_qSyvBPhDsPdxvOhC.txt
- /weixin/**
- /source/**
- /store/login/**
- /store/passport/login/**
- /druid/**
- /swagger-ui.html
- /doc.html
Expand Down

0 comments on commit 1f1b534

Please sign in to comment.