package lock /** 用户消费接口 */ type Cost interface { balance() //余额判断 deduction() //扣费(剩余量|账户余额) }