适配优化的api地址
This commit is contained in:
parent
5c78711d8e
commit
1f1b534b13
@ -23,7 +23,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
*/
|
||||
@RestController
|
||||
@Api(tags = "买家端,直播间接口")
|
||||
@RequestMapping("/buyer/other/broadcast/studio")
|
||||
@RequestMapping("/buyer/broadcast/studio")
|
||||
public class StudioController {
|
||||
|
||||
@Autowired
|
||||
|
@ -28,7 +28,7 @@ import javax.validation.constraints.NotNull;
|
||||
*/
|
||||
@RestController
|
||||
@Api(tags = "买家端,会员接口")
|
||||
@RequestMapping("/buyer/passport/members")
|
||||
@RequestMapping("/buyer/passport/member")
|
||||
public class MemberBuyerController {
|
||||
|
||||
@Autowired
|
||||
|
@ -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
|
||||
@ -183,7 +183,7 @@ logging:
|
||||
config: classpath:logback-spring.xml
|
||||
# 输出级别
|
||||
level:
|
||||
root: error
|
||||
root: info
|
||||
# org.springframework: debug
|
||||
file:
|
||||
# 指定路径
|
||||
|
@ -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
|
||||
@ -176,7 +160,7 @@ logging:
|
||||
config: classpath:logback-spring.xml
|
||||
# 输出级别
|
||||
level:
|
||||
root: error
|
||||
root: info
|
||||
# org.hibernate: debug
|
||||
# org.springframework: debug
|
||||
file:
|
||||
|
@ -179,7 +179,7 @@ logging:
|
||||
config: classpath:logback-spring.xml
|
||||
# 输出级别
|
||||
level:
|
||||
root: error
|
||||
root: info
|
||||
# org.hibernate: debug
|
||||
# org.springframework: debug
|
||||
file:
|
||||
|
@ -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;
|
||||
@ -319,6 +320,7 @@ public class GoodsSkuServiceImpl extends ServiceImpl<GoodsSkuMapper, GoodsSku> i
|
||||
* @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());
|
||||
|
@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.*;
|
||||
*/
|
||||
@RestController
|
||||
@Api(tags = "管理端,系统设置扩展接口")
|
||||
@RequestMapping("/manager/hotwords")
|
||||
@RequestMapping("/manager/hotwords/hotwords")
|
||||
public class HotWordsManagerController {
|
||||
|
||||
@Autowired
|
||||
|
@ -23,7 +23,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
*/
|
||||
@RestController
|
||||
@Api(tags = "管理端,会员消息消息管理接口")
|
||||
@RequestMapping("/manager/message/member")
|
||||
@RequestMapping("/manager/other/memberMessage")
|
||||
public class MemberMessageManagerController {
|
||||
@Autowired
|
||||
private MemberMessageService memberMessageService;
|
||||
|
@ -23,7 +23,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
*/
|
||||
@RestController
|
||||
@Api(tags = "店铺端,直播商品接口")
|
||||
@RequestMapping("/manager/other/broadcast/commodity")
|
||||
@RequestMapping("/manager/broadcast/commodity")
|
||||
public class CommodityManagerController {
|
||||
|
||||
@Autowired
|
||||
|
@ -27,7 +27,7 @@ import javax.validation.constraints.NotNull;
|
||||
*/
|
||||
@RestController
|
||||
@Api(tags = "管理端,直播间接口")
|
||||
@RequestMapping("/manager/other/broadcast/studio")
|
||||
@RequestMapping("/manager/broadcast/studio")
|
||||
public class StudioManagerController {
|
||||
|
||||
@Autowired
|
||||
|
@ -27,7 +27,6 @@ import io.swagger.annotations.ApiOperation;
|
||||
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.*;
|
||||
|
||||
@ -46,7 +45,6 @@ import java.util.List;
|
||||
@RestController
|
||||
@Api(tags = "管理员")
|
||||
@RequestMapping("/manager/passport/user")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Validated
|
||||
public class AdminUserManagerController {
|
||||
@Autowired
|
||||
|
@ -27,7 +27,7 @@ import javax.validation.constraints.NotNull;
|
||||
*/
|
||||
@RestController
|
||||
@Api(tags = "管理端,商家结算单接口")
|
||||
@RequestMapping("/manager/store/bill")
|
||||
@RequestMapping("/manager/order/bill")
|
||||
public class BillManagerController {
|
||||
@Autowired
|
||||
private BillService billService;
|
||||
|
@ -23,7 +23,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
*/
|
||||
@RestController
|
||||
@Api(tags = "管理端,店铺消息消息管理接口")
|
||||
@RequestMapping("/manager/message/store")
|
||||
@RequestMapping("/manager/other/storeMessage")
|
||||
public class StoreMessageManagerController {
|
||||
|
||||
@Autowired
|
||||
|
@ -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
|
||||
|
@ -21,7 +21,7 @@ import java.util.List;
|
||||
*/
|
||||
@RestController
|
||||
@Api(tags = "店铺端,分类绑定参数组管理接口")
|
||||
@RequestMapping("/store/goods/category/parameters")
|
||||
@RequestMapping("/store/goods/categoryParameters")
|
||||
public class CategoryParameterGroupStoreController {
|
||||
|
||||
|
||||
|
@ -21,7 +21,7 @@ import java.util.List;
|
||||
*/
|
||||
@RestController
|
||||
@Api(tags = "店铺端,商品分类规格接口")
|
||||
@RequestMapping("/store/goods/category/spec")
|
||||
@RequestMapping("/store/goods/categorySpec")
|
||||
public class CategorySpecificationStoreController {
|
||||
@Autowired
|
||||
private CategorySpecificationService categorySpecificationService;
|
||||
|
@ -23,7 +23,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
*/
|
||||
@RestController
|
||||
@Api(tags = "店铺端,商品计量单位接口")
|
||||
@RequestMapping("/store/goods/unit")
|
||||
@RequestMapping("/store/goods/goodsUnit")
|
||||
public class GoodsUnitStoreController {
|
||||
@Autowired
|
||||
private GoodsUnitService goodsUnitService;
|
||||
|
@ -31,7 +31,7 @@ import java.util.Objects;
|
||||
*/
|
||||
@RestController
|
||||
@Api(tags = "店铺端,结算单接口")
|
||||
@RequestMapping("/store/member/bill")
|
||||
@RequestMapping("/store/order/bill")
|
||||
public class BillStoreController {
|
||||
|
||||
@Autowired
|
||||
|
@ -26,7 +26,7 @@ import java.util.List;
|
||||
*/
|
||||
@RestController
|
||||
@Api(tags = "店铺端,直播商品接口")
|
||||
@RequestMapping("/store/other/broadcast/commodity")
|
||||
@RequestMapping("/store/broadcast/commodity")
|
||||
public class CommodityStoreController {
|
||||
|
||||
@Autowired
|
||||
|
@ -29,7 +29,7 @@ import java.util.Objects;
|
||||
*/
|
||||
@RestController
|
||||
@Api(tags = "店铺端,直播间接口")
|
||||
@RequestMapping("/store/other/broadcast/studio")
|
||||
@RequestMapping("/store/broadcast/studio")
|
||||
public class StudioStoreController {
|
||||
|
||||
@Autowired
|
||||
|
@ -24,7 +24,7 @@ import java.util.Objects;
|
||||
**/
|
||||
@RestController
|
||||
@Api(tags = "店铺端,运费模板接口")
|
||||
@RequestMapping("/store/settings/freightTemplate")
|
||||
@RequestMapping("/store/setting/freightTemplate")
|
||||
public class FreightTemplateStoreController {
|
||||
@Autowired
|
||||
private FreightTemplateService freightTemplateService;
|
||||
|
@ -26,7 +26,7 @@ import java.util.Objects;
|
||||
*/
|
||||
@RestController
|
||||
@Api(tags = "店铺端,商家地址(自提点)接口")
|
||||
@RequestMapping("/store/settings/storeAddress")
|
||||
@RequestMapping("/store/member/storeAddress")
|
||||
public class StoreAddressController {
|
||||
|
||||
/**
|
||||
|
@ -119,7 +119,7 @@ ignored:
|
||||
- /MP_verify_qSyvBPhDsPdxvOhC.txt
|
||||
- /weixin/**
|
||||
- /source/**
|
||||
- /store/login/**
|
||||
- /store/passport/login/**
|
||||
- /druid/**
|
||||
- /swagger-ui.html
|
||||
- /doc.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user