修复充值bug

This commit is contained in:
CaIon
2023-09-09 05:04:49 +08:00
parent 0115d1d194
commit 01a66ff33c
5 changed files with 14 additions and 11 deletions

View File

@@ -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
}