测试卡不允许续费

This commit is contained in:
“wanyongkang”
2024-02-18 15:26:18 +08:00
parent a5a1c3eb53
commit 97a7635790

View File

@@ -639,6 +639,8 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
if (order.PackageName == "测试卡" || order.PackageName == "测试卡(高级)" || order.PackageName == "测试卡(普通)") {
end_time = DateTime.Now.AddHours(order.DayCount);
userEntity.ProductAccountCount = 1;
order.OrderType = (int)order.OrderType;
order.OrderType = 200;
}