Browse Source

限制好哒奖励发放

lcl 6 tháng trước cách đây
mục cha
commit
0d970f0e65
1 tập tin đã thay đổi với 6 bổ sung6 xóa
  1. 6 6
      AppStart/Helper/SycnSpServer/SycnSpActiveService.cs

+ 6 - 6
AppStart/Helper/SycnSpServer/SycnSpActiveService.cs

@@ -114,7 +114,7 @@ namespace MySystem
                                     {
                                         if(Deposit == 198)
                                         {
-                                            if(merchantAddInfo.SubjectType == "SUBJECT_TYPE_SMALL")
+                                            if(merchantAddInfo.SubjectType == "SUBJECT_TYPE_SMALL" || string.IsNullOrEmpty(merchantAddInfo.SubjectType))
                                             {
                                                 Prize = 0;
                                             }
@@ -125,7 +125,7 @@ namespace MySystem
                                         }
                                         else if(Deposit == 249)
                                         {
-                                            if(merchantAddInfo.SubjectType == "SUBJECT_TYPE_SMALL")
+                                            if(merchantAddInfo.SubjectType == "SUBJECT_TYPE_SMALL" || string.IsNullOrEmpty(merchantAddInfo.SubjectType))
                                             {
                                                 Prize = 50;
                                                 PrizeFlag = false;
@@ -137,7 +137,7 @@ namespace MySystem
                                         }
                                         else if(Deposit == 228)
                                         {
-                                            if(merchantAddInfo.SubjectType == "SUBJECT_TYPE_SMALL")
+                                            if(merchantAddInfo.SubjectType == "SUBJECT_TYPE_SMALL" || string.IsNullOrEmpty(merchantAddInfo.SubjectType))
                                             {
                                                 Prize = 0;
                                             }
@@ -148,7 +148,7 @@ namespace MySystem
                                         }
                                         else if(Deposit == 380)
                                         {
-                                            if(merchantAddInfo.SubjectType == "SUBJECT_TYPE_SMALL")
+                                            if(merchantAddInfo.SubjectType == "SUBJECT_TYPE_SMALL" || string.IsNullOrEmpty(merchantAddInfo.SubjectType))
                                             {
                                                 Prize = 100;
                                                 PrizeFlag = false;
@@ -160,7 +160,7 @@ namespace MySystem
                                         }
                                         else if(Deposit == 399)
                                         {
-                                            if(merchantAddInfo.SubjectType == "SUBJECT_TYPE_SMALL")
+                                            if(merchantAddInfo.SubjectType == "SUBJECT_TYPE_SMALL" || string.IsNullOrEmpty(merchantAddInfo.SubjectType))
                                             {
                                                 Prize = 0;
                                             }
@@ -178,7 +178,7 @@ namespace MySystem
                                         }
                                         else if(Deposit == 499)
                                         {
-                                            if(merchantAddInfo.SubjectType == "SUBJECT_TYPE_SMALL")
+                                            if(merchantAddInfo.SubjectType == "SUBJECT_TYPE_SMALL" || string.IsNullOrEmpty(merchantAddInfo.SubjectType))
                                             {
                                                 Prize = 0;
                                             }