From 2daf89e0c68442594ddde3500eb40a4d40541bc6 Mon Sep 17 00:00:00 2001
From: Live <1005297262@qq.com>
Date: 星期三, 10 六月 2020 18:30:17 +0800
Subject: [PATCH] HttpUtils.sendPost()方法,参数无需拼接参数到url,否则会出现双份参数 请求url或form参数 会出现双份参数,并无法获取 {"token":["xxxxxxx","xxxxxxx"],"payType":["weixin","weixin"],"amount":["100","100"],"orderId":["123","123"]}

---
 ruoyi/src/main/resources/vm/java/domain.java.vm |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ruoyi/src/main/resources/vm/java/domain.java.vm b/ruoyi/src/main/resources/vm/java/domain.java.vm
index e99ef2c..c943c1b 100644
--- a/ruoyi/src/main/resources/vm/java/domain.java.vm
+++ b/ruoyi/src/main/resources/vm/java/domain.java.vm
@@ -1,5 +1,8 @@
 package ${packageName}.domain;
 
+#foreach ($import in $importList)
+import ${import};
+#end
 import org.apache.commons.lang3.builder.ToStringBuilder;
 import org.apache.commons.lang3.builder.ToStringStyle;
 import com.ruoyi.framework.aspectj.lang.annotation.Excel;
@@ -7,9 +10,6 @@
 import com.ruoyi.framework.web.domain.BaseEntity;
 #elseif($table.tree)
 import com.ruoyi.framework.web.domain.TreeEntity;
-#end
-#foreach ($import in $importList)
-import ${import};
 #end
 
 /**
@@ -40,6 +40,7 @@
 #if($parentheseIndex != -1)
     @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
 #elseif($column.javaType == 'Date')
+    @JsonFormat(pattern = "yyyy-MM-dd")
     @Excel(name = "${comment}", width = 30, dateFormat = "yyyy-MM-dd")
 #else
     @Excel(name = "${comment}")

--
Gitblit v1.9.2