...
|
...
|
@@ -39,10 +39,10 @@ func GetChanceCode(chanceId int64, chanceTypeId int, templateId int64) (rsp stri |
|
|
}
|
|
|
log.Warn(fmt.Sprintf("get chance code retry(%v): cursn:%v cid:%v cc:%v tc:%v",
|
|
|
loopTime, currentSN, chanceId, ChanceTypeCode, TemplateCode))
|
|
|
time.Sleep(time.Millisecond * 500)
|
|
|
time.Sleep(time.Millisecond * 1000)
|
|
|
loopTime++
|
|
|
}
|
|
|
|
|
|
rsp = fmt.Sprintf("%v%v%v", ChanceTypeCode, TemplateCode, Num)
|
|
|
rsp = fmt.Sprintf("%v", Num) //fmt.Sprintf("%v%v%v", ChanceTypeCode, TemplateCode, Num)
|
|
|
return
|
|
|
} |
...
|
...
|
|