采用阿里代码规约,对代码进行优化
This commit is contained in:
@@ -39,13 +39,19 @@ import java.util.List;
|
||||
@RequestMapping("/store/goods")
|
||||
public class GoodsStoreController {
|
||||
|
||||
//商品
|
||||
/**
|
||||
* 商品
|
||||
*/
|
||||
@Autowired
|
||||
private GoodsService goodsService;
|
||||
//商品sku
|
||||
/**
|
||||
* 商品sku
|
||||
*/
|
||||
@Autowired
|
||||
private GoodsSkuService goodsSkuService;
|
||||
//店铺详情
|
||||
/**
|
||||
* 店铺详情
|
||||
*/
|
||||
@Autowired
|
||||
private StoreDetailService storeDetailService;
|
||||
|
||||
|
||||
@@ -22,8 +22,8 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
* @author Chopper
|
||||
* @date: 2020/11/22 14:23
|
||||
*/
|
||||
@Transactional
|
||||
@RestController
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Api(tags = "店铺端,日志管理接口")
|
||||
@RequestMapping("/store/log")
|
||||
public class LogStoreController {
|
||||
|
||||
Reference in New Issue
Block a user