上传购买接口错误代码

This commit is contained in:
liwei 2022-07-22 20:35:32 +08:00
parent 5d21812274
commit 58c51c3708

View File

@ -51,7 +51,7 @@ func (this *apiComp) Buy(session comm.IUserSession, req *pb.ShopBuyReq) (code pb
need[i] = &cfg.Game_atn{
A: v.A,
T: v.T,
N: int32(math.Ceil(float64(v.N)*float64(conf.Sale)/float64(1000))) * -1,
N: int32(math.Ceil(float64(v.N) * float64(conf.Sale) / float64(1000))),
}
}