1.点歌支付防抖

2.点歌记录倒序
3.下单同步保存库存记录
This commit is contained in:
2024-07-17 16:52:19 +08:00
parent d784ba8c27
commit 266bbd7381
10 changed files with 64 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
package com.chaozhanggui.system.cashierservice.controller;
import com.chaozhanggui.system.cashierservice.annotation.LimitSubmit;
import com.chaozhanggui.system.cashierservice.entity.dto.SongOrderDTO;
import com.chaozhanggui.system.cashierservice.service.TbShopSongService;
import com.chaozhanggui.system.cashierservice.sign.Result;
@@ -80,6 +81,7 @@ public class ShopSongController {
* @param songOrderDTO 订单信息
* @return result
*/
@LimitSubmit(key = "song_order_pay:#openId")
@PostMapping
public Result createOrder(
@RequestHeader("openId") String openId,