rentaiming
2024-06-03 6e8a55edef22faa7f7d5bbbccd727119a6fd918f
1
2
3
4
5
6
7
8
9
10
11
package com.ruoyi.seatademo.service;
 
public interface AccountService
{
    /**
     * 账户扣减
     * @param userId 用户 ID
     * @param price 扣减金额
     */
    void reduceBalance(Long userId, Double price);
}