修复充值bug

This commit is contained in:
CaIon
2023-09-09 05:04:49 +08:00
parent 6ca32631bb
commit ff8df45f95
5 changed files with 14 additions and 11 deletions
+1 -1
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
}