@@ -52,7 +52,7 @@ public class SupplierController extends BaseController {
}
/**
- * 供应商首页
+ * 供应商商品页
*/
@GetMapping("/supplier/product.html")
public String product(final Model model, @RequestParam("id") Integer supplierId, @RequestParam("brandID") Integer brandId) {
@@ -11,8 +11,7 @@ spring:
enabled: true #开启thymeleaf视图解析
encoding: utf-8 #编码
prefix: classpath:/templates/ #前缀
- cache: false #是否使用缓存
- mode: HTML #严格的HTML语法模式
+ mode: HTML5 #严格的HTML语法模式
suffix: .html #后缀名
reactive:
max-chunk-size: 8192
@@ -1,4 +1,6 @@
spring:
+ thymeleaf:
+ cache: true #是否使用缓存
#数据源连接--start
datasource:
url: jdbc:mysql://10.104.50.235:3306/caimei?characterEncoding=UTF8&serverTimezone=Asia/Shanghai
+ cache: false #是否使用缓存
#driverClassName: com.mysql.jdbc.Driver
url: jdbc:mysql://10.104.172.219:3306/caimei?characterEncoding=UTF8&serverTimezone=Asia/Shanghai