mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-08 07:03:42 +08:00
修复充值bug
This commit is contained in:
@@ -40,7 +40,7 @@ func GetEpayClient() *epay.Client {
|
||||
|
||||
func GetAmount(count float64) float64 {
|
||||
// 别问为什么用float64,问就是这么点钱没必要
|
||||
amount := count * float64(common.Price)
|
||||
amount := count * common.Price
|
||||
return amount
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user