|
@@ -25,7 +25,7 @@ func (BP *JyActivity) WinnerInfo() map[string]interface{} {
|
|
|
res = award.GetWinnerInfo()
|
|
|
if res != nil {
|
|
|
b, err := json.Marshal(res)
|
|
|
- if err == nil {
|
|
|
+ if err == nil && len(b) > 0 {
|
|
|
if err = redis.PutBytes(BidderPlanRedis, WinnerInfoKey, &b, 24*60*60); err != nil {
|
|
|
log.Println("中将人信息 缓存信息有误")
|
|
|
}
|