增加提示检测图片次数

This commit is contained in:
chfei committed 2026-11-09 14:23:57 +08:00
1 parent 3f11ae23bd
commit 7c870e6c46
1 file changed
+8
@@ -1323,7 +1323,15 @@ namespace TemuKJD.WXForms.ProductForms
BaseMsgForm.ShowInfo("请选择商品"); BaseMsgForm.ShowInfo("请选择商品");
return; return;
} }
if (BaseClass.ImageAnalysisQuota > 0)
{
BaseMsgForm.ShowInfo($"当前AI检测剩余:{BaseClass.ImageAnalysisQuota}张"); BaseMsgForm.ShowInfo($"当前AI检测剩余:{BaseClass.ImageAnalysisQuota}张");
}
else
{
BaseMsgForm.ShowInfo($"当前AI检测剩余:{BaseClass.ImageAnalysisQuota}张,请兑换");
return;
}
var originalText = btnSafeDetection.Text; var originalText = btnSafeDetection.Text;
detection = new CancellationTokenSource(); detection = new CancellationTokenSource();