老師我發(fā)布了一個(gè)體驗(yàn)版,用手機(jī)訪問的了頁面,可是訪問不了數(shù)據(jù),求解答
2018-02-09
@RequestMapping(method = RequestMethod.GET)
@RequestMapping(method = RequestMethod.POST)
@RequestMapping(method = RequestMethod.PUT)
@RequestMapping(method = RequestMethod.DELETE)
分別可以寫成
@GetMapping
@PostMapping
@PutMapping
@DeleteMapping
@RequestMapping(method = RequestMethod.POST)
@RequestMapping(method = RequestMethod.PUT)
@RequestMapping(method = RequestMethod.DELETE)
分別可以寫成
@GetMapping
@PostMapping
@PutMapping
@DeleteMapping
2018-02-09
CREATE TABLE tb_area (
area_id int(2) NOT NULL auto_increment,
area_name varchar(200) NOT NULL,
priority int(2) NOT NULL DEFAULT'0',
create_time datetime DEFAULT NULL,
last_edit_time datetime DEFAULT NULL,
PRIMARY KEY(area_id),
UNIQUE KEY UK_AREA(area_name)
)....
area_id int(2) NOT NULL auto_increment,
area_name varchar(200) NOT NULL,
priority int(2) NOT NULL DEFAULT'0',
create_time datetime DEFAULT NULL,
last_edit_time datetime DEFAULT NULL,
PRIMARY KEY(area_id),
UNIQUE KEY UK_AREA(area_name)
)....
2018-02-08
<setting name="useGeneratedKeys" value="true"/>
<!-- 使用列標(biāo)簽替換列別名 默認(rèn):true -->
<setting name="useColumnLabel" value="true"/>
<!-- 開啟駝峰命名轉(zhuǎn)換 -->
<setting name="mapUnderscoreToCamelCase" value="true"/>
</settings>
</configuration>
<!-- 使用列標(biāo)簽替換列別名 默認(rèn):true -->
<setting name="useColumnLabel" value="true"/>
<!-- 開啟駝峰命名轉(zhuǎn)換 -->
<setting name="mapUnderscoreToCamelCase" value="true"/>
</settings>
</configuration>
2018-02-08
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE configuration
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-config.dtd">
<configuration>
<!-- 配置全局屬性 -->
<settings>
<!-- 使用jdbc的getGeneratedkeys獲取數(shù)據(jù)庫自增主鍵值 -->
<!DOCTYPE configuration
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-config.dtd">
<configuration>
<!-- 配置全局屬性 -->
<settings>
<!-- 使用jdbc的getGeneratedkeys獲取數(shù)據(jù)庫自增主鍵值 -->
2018-02-08