rentaiming
2024-07-16 31267d9b3a33c8b3fbb1b9f810ab08e01c49b846
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);
}