上传购买接口错误代码
This commit is contained in:
parent
5d21812274
commit
58c51c3708
@ -51,7 +51,7 @@ func (this *apiComp) Buy(session comm.IUserSession, req *pb.ShopBuyReq) (code pb
|
|||||||
need[i] = &cfg.Game_atn{
|
need[i] = &cfg.Game_atn{
|
||||||
A: v.A,
|
A: v.A,
|
||||||
T: v.T,
|
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))),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user