摘要:
#{}能够更安全的取出参数 ${}取出的参数不安全 尽量不要使用${}取参数 原因: A:select * from table where a = '10001' and b = ${parameter} B:select * from table where a = '10001' and b 阅读全文
摘要:
// 联系人校验 var checked_contact = /^$|([a-zA-Z0-9\u4e00-\u9fa5\·]{1,10})$/; // 手机号码校验 var checked_phone = /^$|[1][358][0-9]{9}$/; // 区号+座机号码+分机号码 var che 阅读全文