1. Modified the type 1.3.2 that depends on Mybatis. The original 1.1.1 can run but cannot receive data, refer to: https://blog.csdn.net/weixin_43113679/article/details/105942595
2. Modify the front-end format, accurate to the second, refer to: https://blog.csdn.net/jjf09/article/details/78976499
<label>入住时间</label><input type="datetime-local" step="01" name="entertime" id="entertime"/><br/><br/>
3. The backend uses a string to receive, and then uses LocalDateTime.parse() to convert, hehehe, I think about it myself
String entertime,
guests.setEntertime(LocalDateTime.parse(entertime));
I finally received it successfully, and the interaction was successfully realized!
- Welcome everyone to follow the WeChat public account Xiaoguoguo Senior, grow and learn with you!