Browse Source

修改审核的图片问题

qxp 4 years ago
parent
commit
bb9323d095
1 changed files with 3 additions and 3 deletions
  1. 3 3
      dgtly-admin/src/main/resources/templates/company/edit/edit.html

+ 3 - 3
dgtly-admin/src/main/resources/templates/company/edit/edit.html

@@ -82,7 +82,7 @@
                 <label class="col-sm-3 control-label">营业执照:</label>
                 <div class="col-sm-8">
                     <div class="fileinput fileinput-new">
-                        <input id="input-businessLicenseUrl" name="businessLicenseUrl" type="hidden"/>
+                        <input id="input-businessLicenseUrl" name="businessLicenseUrl" th:field="*{businessLicenseUrl}" type="hidden"/>
                         <div class="fileinput-new thumbnail" style="max-width: 140px; max-height: 140px;" onclick="openImg(this)">
                             <img th:src="@{*{businessLicenseUrl}}" id="img-businessLicenseUrl" >
                         </div>
@@ -101,7 +101,7 @@
                 <label class="col-sm-3 control-label">商户封面:</label>
                 <div class="col-sm-8">
                     <div class="fileinput fileinput-new">
-                        <input id="input-defaultImgUrl" name="defaultImgUrl" type="hidden"/>
+                        <input id="input-defaultImgUrl" name="defaultImgUrl" th:field="*{defaultImgUrl}" type="hidden"/>
                         <div class="fileinput-new thumbnail" style="max-width: 140px; max-height: 140px;" onclick="openImg(this)">
                             <img th:src="@{*{defaultImgUrl}}" id="img-defaultImgUrl" >
                         </div>
@@ -119,7 +119,7 @@
                 <label class="col-sm-3 control-label">商户宣传图片:</label>
                 <div class="col-sm-8">
                     <div class="fileinput fileinput-new">
-                        <input id="input-propagandaImgUrl" name="propagandaImgUrl" type="hidden"/>
+                        <input id="input-propagandaImgUrl" name="propagandaImgUrl" th:field="*{propagandaImgUrl}" type="hidden"/>
                         <div class="fileinput-new thumbnail" style="max-width: 140px; max-height: 140px;" onclick="openImg(this)">
                             <img th:src="@{*{propagandaImgUrl}}" id="img-propagandaImgUrl" >
                         </div>