Commit 60a1a55c56bd7fcd933174fc5744d2e88ca3712f

Authored by 陆恒
1 parent 3f7c2264
Exists in master

提交

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/HttpServer/logic/function.go
@@ -214,7 +214,7 @@ func (u *UserData) CalcRandRedBagNum() float32 { @@ -214,7 +214,7 @@ func (u *UserData) CalcRandRedBagNum() float32 {
214 //加红包接口 214 //加红包接口
215 func (u *UserData) AddRedPackect(num float32, atype int) (int, error) { 215 func (u *UserData) AddRedPackect(num float32, atype int) (int, error) {
216 SERVERKEY := conf.GetCoinConf().Key 216 SERVERKEY := conf.GetCoinConf().Key
217 - goldnum := int(num * 10000) 217 + goldnum := int(num * 100)
218 var paramlist []string 218 var paramlist []string
219 sign_type := "sign_type=md5" 219 sign_type := "sign_type=md5"
220 paramlist = append(paramlist, sign_type) 220 paramlist = append(paramlist, sign_type)