1、去除非必要事务
2、对分布式多节点并发时可能存在生成相同的雪花算法id问题进行处理 3、其他问题优化
This commit is contained in:
@@ -23,7 +23,6 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
* @since 2020/12/6 16:09
|
||||
*/
|
||||
@RestController
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Api(tags = "管理端,会员消息消息管理接口")
|
||||
@RequestMapping("/manager/message/member")
|
||||
public class MemberMessageManagerController {
|
||||
|
||||
@@ -24,7 +24,6 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
* @since 2020/11/17 4:34 下午
|
||||
*/
|
||||
@RestController
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Api(tags = "管理端,订单日志管理接口")
|
||||
@RequestMapping("/manager/orderLog")
|
||||
public class OrderLogManagerController {
|
||||
|
||||
@@ -27,7 +27,6 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
@RestController
|
||||
@Api(tags = "管理端,收款日志接口")
|
||||
@RequestMapping("/manager/paymentLog")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class PaymentLogManagerController {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -26,7 +26,6 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
@RestController
|
||||
@Api(tags = "管理端,退款日志接口")
|
||||
@RequestMapping("/manager/refundLog")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class RefundLogManagerController {
|
||||
@Autowired
|
||||
private RefundLogService refundLogService;
|
||||
|
||||
@@ -27,7 +27,6 @@ import java.util.List;
|
||||
@RestController
|
||||
@Api(tags = "管理端,验证码资源维护接口")
|
||||
@RequestMapping("/manager/verificationSource")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class VerificationSourceController {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -46,7 +46,6 @@ import java.util.List;
|
||||
@RestController
|
||||
@Api(tags = "管理员")
|
||||
@RequestMapping("/manager/user")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Validated
|
||||
public class AdminUserManagerController {
|
||||
@Autowired
|
||||
|
||||
@@ -23,7 +23,6 @@ import java.util.List;
|
||||
*/
|
||||
@Slf4j
|
||||
@RestController
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Api(tags = "日志管理接口")
|
||||
@RequestMapping("/manager/log")
|
||||
public class LogManagerController {
|
||||
|
||||
@@ -25,7 +25,6 @@ import java.util.List;
|
||||
@RestController
|
||||
@Api(tags = "管理端,行政地区管理接口")
|
||||
@RequestMapping("/manager/region")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class RegionManagerController {
|
||||
@Autowired
|
||||
private RegionService regionService;
|
||||
|
||||
@@ -23,7 +23,6 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
* @since 2020/12/6 16:09
|
||||
*/
|
||||
@RestController
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Api(tags = "管理端,店铺消息消息管理接口")
|
||||
@RequestMapping("/manager/message/store")
|
||||
public class StoreMessageManagerController {
|
||||
|
||||
@@ -29,7 +29,6 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
@RestController
|
||||
@Api(tags = "管理端,余额提现记录接口")
|
||||
@RequestMapping("/manager/members/withdraw-apply")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class MemberWithdrawApplyManagerController {
|
||||
@Autowired
|
||||
private MemberWithdrawApplyService memberWithdrawApplyService;
|
||||
|
||||
@@ -25,7 +25,6 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
@RestController
|
||||
@Api(tags = "管理端,预存款充值记录接口")
|
||||
@RequestMapping("/manager/recharge")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class RechargeManagerController {
|
||||
@Autowired
|
||||
private RechargeService rechargeService;
|
||||
|
||||
@@ -24,7 +24,6 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
@RestController
|
||||
@Api(tags = "管理端,预存款充值记录接口")
|
||||
@RequestMapping("/manager/wallet/log")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class WalletLogManagerController {
|
||||
@Autowired
|
||||
private WalletLogService walletLogService;
|
||||
|
||||
@@ -23,7 +23,6 @@ import java.util.List;
|
||||
@RestController
|
||||
@Api(tags = "微信小程序消息订阅接口")
|
||||
@RequestMapping("/manager/message/wechatMPMessage")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class WechatMPMessageManagerController {
|
||||
@Autowired
|
||||
private WechatMPMessageService wechatMPMessageService;
|
||||
|
||||
Reference in New Issue
Block a user