摘要:
public static int GetAgeByIdCard(string idCard) { int age = -1; if (!string.IsNullOrWhiteSpace(idCard)) { var subStr = string.Empty; if (idCard.Length 阅读全文
posted @ 2020-08-17 15:53
低调码农哥!
阅读(289)
评论(0)
推荐(0)
摘要:
//输入只能为数字、字母、汉字 Regex reg = new Regex("^[a-zA-Z0-9-\u2E80-\u9FFF]+$"); if (request.user_name.Length > 30 || !reg.IsMatch(request.user_name)) { return 阅读全文
posted @ 2020-08-17 10:28
低调码农哥!
阅读(1453)
评论(0)
推荐(0)

浙公网安备 33010602011771号