采用阿里代码规约,对代码进行优化

This commit is contained in:
lifenlong
2021-07-09 08:42:16 +08:00
parent 3e73257922
commit 18d2379a19
32 changed files with 262 additions and 116 deletions

View File

@@ -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;

View File

@@ -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 {