【优化】取消sku货品货号必须包含【SN】的限制。

【调整】调整Sku切割方式,将小写逗号【.】,替换为【&&】;同时更新表【CoreCmsGoods】内数据,请大家执行sql脚本更新存储的sku数据。
This commit is contained in:
大灰灰
2022-11-04 02:56:53 +08:00
parent ac3de3e5ad
commit 6e35ffb357
15 changed files with 45 additions and 32 deletions

View File

@@ -162,7 +162,7 @@ namespace CoreCms.Net.Utility.Helper
/// <returns></returns>
public static bool FilterChar(string inputValue)
{
return Regex.IsMatch(inputValue, "[`.~!@#$^&*()=|\"{}':;',\\[\\]<>?~@#¥……&*&;|{}。*-+]+");
return Regex.IsMatch(inputValue, "[`~!@#$^&*()=|\"{}':;',\\[\\]<>?~@#¥……&*&;|{}。*-+]+");
}
#endregion