mitao
2024-05-17 2780d177d14b14ab2d87bcf48ff9af6d0fe18ec2
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);
}