432 432 * <pre class="code"> 433 433 * 434 - * <span style="color:green">//分隔字符串并添加引号.</span> 434 + * <span style="color:green">//分隔字符串并添加单引号.</span> 435 435 * public void splitAndAddYinHao(){ 43
UserController.java @Controller public class UserController { @GetMapping("/user/{id}") @ResponseBody public User getUser(@PathVariable Long id){ User user = new User(id,"kejizhentan","1123456","柯基侦探",18,1,new Date(),new Date(),new Date(),"备注"); return user; } } 1. 2. ...
replaces.put("${username}", Text.str("rongzhi_li")); replaces.put("${password}", Text.str("1123456")); replaces.put("${author}", Text.str("lee")); poiWordTableReplace("t1.doc","t2.doc", replaces); } publicstaticvoidpoiWordTableReplace(String sourceFile, String newFile, Map<...
(id,"kejizhentan","1123456","柯基侦探",18,1,new Date(),new Date(),new Date(),"备注"); return user; } } SpringcloudResttemplateProjectApplication.java @SpringBootApplication public class SpringcloudResttemplateProjectApplication { public static void main(String[] args) { SpringApplication.run(...