CGB2004-京淘項目Day02

1. SpringBoot程序增強 1.1 屬性賦值問題 1.1.1 業務需求 說明: 若是將配置信息,經過代碼的形式寫死到代碼中,這樣的話程序的耦合性高,不便擴展. 需求: 可否爲對象的屬性,動態賦值.前端 @RestController //保證返回的數據轉化爲JSON public class JDBCController { private String username; //定義
相關文章
相關標籤/搜索