1.点歌支付防抖
2.点歌记录倒序 3.下单同步保存库存记录
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user