摘要: 获取前端的时间,并传入数据库中 用来处理前端传递过来的时间,并且前端传过来的值“时间”是string类型的,但是我们在把这个输入的时间进行输入后我们在后端进行获取到这个“时间”后,我们就能进行处理, 我们在用simpledateformet,来处理我们前端传来的时间进行处理这样我们就能我们的时间存储 阅读全文
posted @ 2022-05-13 22:38 孤巷一人i 阅读(3114) 评论(0) 推荐(0) 编辑
摘要: 使用正则表达判断手机号 @RunWith(SpringJUnit4ClassRunner.class)@ContextConfiguration("/applicationContext.xml")public class testRe {​ @Test public void testPhone( 阅读全文
posted @ 2022-05-13 20:33 孤巷一人i 阅读(1881) 评论(0) 推荐(0) 编辑