diff --git a/ruoyi-admin/src/main/resources/templates/system/app/add.html b/ruoyi-admin/src/main/resources/templates/system/app/add.html index 4c92facb..623f9097 100644 --- a/ruoyi-admin/src/main/resources/templates/system/app/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/app/add.html @@ -24,6 +24,18 @@ +
+ +
+ +
+
+
+ +
+ +
+
diff --git a/ruoyi-admin/src/main/resources/templates/system/app/app.html b/ruoyi-admin/src/main/resources/templates/system/app/app.html index 780b82f3..3499189f 100644 --- a/ruoyi-admin/src/main/resources/templates/system/app/app.html +++ b/ruoyi-admin/src/main/resources/templates/system/app/app.html @@ -84,6 +84,14 @@ field: 'wxAppId', title: 'app跳转的目标微信公众号' }, + { + field: 'imgUrl', + title: '广告图片素材地址' + }, + { + field: 'videoUrl', + title: '广告视频素材地址' + }, { field: 'status', title: '状态' diff --git a/ruoyi-admin/src/main/resources/templates/system/app/edit.html b/ruoyi-admin/src/main/resources/templates/system/app/edit.html index 24943bc1..b784529c 100644 --- a/ruoyi-admin/src/main/resources/templates/system/app/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/app/edit.html @@ -25,6 +25,18 @@
+
+ +
+ +
+
+
+ +
+ +
+
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/CompanyApp.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/CompanyApp.java index d7fb7459..df00fab0 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/CompanyApp.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/CompanyApp.java @@ -1,8 +1,6 @@ package com.ruoyi.system.domain; import lombok.Data; -import org.apache.commons.lang3.builder.ToStringBuilder; -import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; @@ -36,4 +34,10 @@ public class CompanyApp extends BaseEntity @Excel(name = "状态 0.启用 1.禁用") private String status; + @Excel(name = "广告图片素材地址") + private String imgUrl; + + @Excel(name = "广告视频素材地址") + private String videoUrl; + } diff --git a/ruoyi-system/src/main/resources/mapper/system/CompanyAppMapper.xml b/ruoyi-system/src/main/resources/mapper/system/CompanyAppMapper.xml index 237892e0..645f15b5 100644 --- a/ruoyi-system/src/main/resources/mapper/system/CompanyAppMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/CompanyAppMapper.xml @@ -9,6 +9,8 @@ + + @@ -18,7 +20,7 @@ - select id, company_id, app_name, wx_app_id, status, create_time, create_by, update_by, update_time, remark from company_app + select id, company_id, app_name, wx_app_id, img_url, video_url, status, create_time, create_by, update_by, update_time, remark from company_app