mitao
2024-07-29 fc8b51f40e71aa09bb49f407c1e9f68ac94ceb58
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);
}