Explorar o código

盟主、运营中心只拿一次100奖励

lichunlei %!s(int64=2) %!d(string=hai) anos
pai
achega
98053ee803
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      AppStart/Helper/AlipayPayBack2Service.cs

+ 1 - 1
AppStart/Helper/AlipayPayBack2Service.cs

@@ -315,7 +315,7 @@ namespace MySystem
                                             OpAccount(db, order, order.UserId, 100, pro.ProductCount);
                                         }
                                     }
-                                    if(user.UserType == 1)
+                                    else if(user.UserType == 1)
                                     {
                                         //获得100元奖励
                                         OpAccount(db, order, order.UserId, 100, pro.ProductCount);