rentaiming
2024-07-10 b29becf95484be48aa09e87fcc7cc19f94cf9c81
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);
}