Commit 66cdb628 authored by Administrator's avatar Administrator

未审核赛事不显示小程序码

parent 9b2b7c92
......@@ -31,6 +31,7 @@
is_week_rank isWeekRank,
is_month_rank isMonthRank,
cmpt_status cmptStatus,
audit_status auditStatus,
is_year_rank isYearRank
FROM `gk_cmpt`
WHERE cmpt_id = #{id} LIMIT 1
......
......@@ -47,4 +47,6 @@ public class Cmpt extends JaapRecord<Cmpt> {
private int cmptStatus;
private int auditStatus;
}
......@@ -207,7 +207,7 @@
<div class="title-sec">
<h2 class="h3 title">赛事小程序码</h2>
</div>
<c:if test="${cmpt.cmptStatus == 2}">
<c:if test="${cmpt.auditStatus == 1}">
<div class="flex flex-row">
<div style="position: relative" id="wx-logo">
<img class="qr-img" src="/img/${cmpt.cmptId}" alt="">
......@@ -225,7 +225,7 @@
</div>
</div>
</c:if>
<c:if test="${cmpt.cmptStatus == 0}">
<c:if test="${cmpt.auditStatus == 0}">
<div class="flex flex-row cmpt-status-div">
<span class="tip-txt">请联系管理员,赛事审核通过后下载小程序码</span>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment