Преглед на файлове

奖励推送要在奖励变量清0以后

lcl преди 1 месец
родител
ревизия
e41ef25bfa
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      Util/HaoDa/ActiveRewardService.cs

+ 3 - 3
Util/HaoDa/ActiveRewardService.cs

@@ -234,9 +234,9 @@ namespace MySystem
                                                         QueryCount = MerchantId,
                                                     }).Entity;
                                                     kxsdb.SaveChanges();
+                                                    PrizePushHelper.Instance.Do(DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8), "来客吧开户奖", "312", Prize, puser.Id, "{\"brand_id\":101,\"user_id\":" + puser.Id + "}");
                                                     Prize = 0;
 
-                                                    PrizePushHelper.Instance.Do(DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8), "来客吧开户奖", "312", Prize, puser.Id, "{\"brand_id\":101,\"user_id\":" + puser.Id + "}");
                                                 }
                                             }
                                         }
@@ -364,9 +364,9 @@ namespace MySystem
                                                         QueryCount = MerchantId,
                                                     }).Entity;
                                                     kxsdb.SaveChanges();
+                                                    PrizePushHelper.Instance.Do(DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8), "来客吧大盟主奖", "313", Prize, puser.Id, "{\"brand_id\":101,\"user_id\":" + puser.Id + "}");
                                                     Prize = 0;
 
-                                                    PrizePushHelper.Instance.Do(DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8), "来客吧大盟主奖", "313", Prize, puser.Id, "{\"brand_id\":101,\"user_id\":" + puser.Id + "}");
                                                 }
                                             }
                                         }
@@ -490,9 +490,9 @@ namespace MySystem
                                                     QueryCount = MerchantId,
                                                 }).Entity;
                                                 kxsdb.SaveChanges();
+                                                PrizePushHelper.Instance.Do(DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8), "来客吧运营中心奖", "314", Prize, puser.Id, "{\"brand_id\":101,\"user_id\":" + puser.Id + "}");
                                                 Prize = 0;
 
-                                                PrizePushHelper.Instance.Do(DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8), "来客吧运营中心奖", "314", Prize, puser.Id, "{\"brand_id\":101,\"user_id\":" + puser.Id + "}");
                                             }
                                         }
                                     }