lichunlei 3 سال پیش
والد
کامیت
6450a7afbf
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      Areas/Admin/Controllers/MainServer/StoreHouseController.cs

+ 3 - 3
Areas/Admin/Controllers/MainServer/StoreHouseController.cs

@@ -1698,9 +1698,9 @@ namespace MySystem.Areas.Admin.Controllers
                                         if (userAmount.ValidAmount - amount >= 0)
                                         if (userAmount.ValidAmount - amount >= 0)
                                         {
                                         {
                                             userAmount.ValidAmount -= amount;
                                             userAmount.ValidAmount -= amount;
-                                            posInfo.OpReserve3 += amount;
-                                            posInfo.OpReserve1 = 0;
-                                            posInfo.OpReserve2 = 0;
+                                            posInfo.OpReserve3 += amount; //关联分仓额度
+                                            posInfo.OpReserve1 = 0; //未使用额度
+                                            posInfo.OpReserve2 = 0; //可提现额度
                                             opdb.SaveChanges();
                                             opdb.SaveChanges();
                                         }
                                         }
                                         else
                                         else