Quellcode durchsuchen

押金回调同步显示押金字段数据

lcl vor 9 Monaten
Ursprung
Commit
8372362338
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      AppStart/Helper/SycnSpServer/SycnSpActiveService.cs

+ 3 - 1
AppStart/Helper/SycnSpServer/SycnSpActiveService.cs

@@ -54,7 +54,9 @@ namespace MySystem
                             {
                                 if(string.IsNullOrEmpty(pos.SeoKeyword) && decimal.Parse(function.CheckNum(act.SeoTitle)) > 0) Utils.Instance.SendActData(pos);
                                 pos.SeoKeyword = act.SeoTitle;
-                                pos.PrizeParams = pos.SeoKeyword;
+                                decimal Deposit = decimal.Parse(function.CheckNum(pos.SeoKeyword));
+                                if(Deposit > 1000) Deposit = Deposit / 100;
+                                pos.PrizeParams = Deposit.ToString("f0");
                                 if(pos.BrandId == 15 || pos.BrandId == 16) //来客吧
                                 {
                                     pos.Detail = ""; //清除激活奖励标记